Carbon Copy is designed for those people who want a high-level view of what's happening on the project. If you'd like to subscribe, you can join annou

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-06-21 06:00:04

Carbon Copy is designed for those people who want a high-level view of what's happening on the project. If you'd like to subscribe, you can join announce@carbon-lang.dev. Carbon Copy should arrive roughly every other month.

As a test, we can now compile and execute a program like this prime sieve example, if we restrict ourselves to language features that are already implemented in the toolchain:

...however, the toolchain is still in early development. It is not yet tested or documented, and is guaranteed not to work on many platforms. Please check back in future newsletters for more progress updates!

These three represent a small number of composable concepts that allows a simpler, faster compiler with efficient calling conventions (even in situations where types are generic). Hopefully, too, an abbreviated set of expression categories will also be easy to learn and apply.

Value expressions produce abstract values that cannot be modified or have their address taken. They can be formed in two ways: a literal expression like 42, or by reading the value of some stored object.

Leave a Comment