Compile times of the stage1 zig compiler may seem fast compared to e.g. rust or C++ but they are slow compared to what the WIP stage2 compiler can do :)
Re:Zig's New Relationship with LLVM
by agentultra on Monday September 28, 2020 @01:49PM
(#24619336)
I can't complain as I mostly write Haskell these days and trade off compile time for other things.
That sounds excellent though, I'll check it out when it lands.
Highlights:
- compile-time evaluation
- integrated testing through scoped blocks
- prevents some implicit casts that we take for granted in C
- catches allocation errors
- explicit error return handling
I appreciate it trying to make a better C.