Also, for those that are interested, we’re going to have a release party tomorrow live on Twitch. Andrew will demo some highlights from the release and answer some questions from the audience.
Compilation speed is a top priority for the design of both the Zig self-hosted compiler as well as the language itself. I have been careful to design the language in a way as to unlock the potential of an ambitiously fast compiler.
I was working on a Rust program this week and I made a small mistake: I used && instead of ||. It took 2 seconds to change the source code, but recompiling took more than 2 minutes. I’m extremely happy to see that Zig is aiming for very fast compile-times.
As someone who’s annoyed that it takes nearly twenty seconds to compile a 5k-loc project on my machine, I’m quite pleased to hear that a lot of ground is being broken on compiler performance improvements.
Also, for those that are interested, we’re going to have a release party tomorrow live on Twitch. Andrew will demo some highlights from the release and answer some questions from the audience.
https://twitter.com/zigshowtime/status/1399634302833471491?s=20
My favorite part of the release notes is the reworked memory layout section.
I was working on a Rust program this week and I made a small mistake: I used
&&
instead of||
. It took 2 seconds to change the source code, but recompiling took more than 2 minutes. I’m extremely happy to see that Zig is aiming for very fast compile-times.Yes, I was about to point out this section but you beat me to it! Great case study of “data oriented design”, the struct-of-arrays pattern, etc.
Anyone shipping anything written in Zig?
Some interesting projects are starting to pop up.
https://github.com/coilhq/tigerbeetle
https://github.com/ifreund/river
https://twitter.com/niklasfrykholm/status/1388711296414019587?s=20
As someone who’s annoyed that it takes nearly twenty seconds to compile a 5k-loc project on my machine, I’m quite pleased to hear that a lot of ground is being broken on compiler performance improvements.