News for hackers. Stuff that matters.
Re:Zig's New Relationship with LLVM by agentultra on Monday September 28, 2020 @12:05PM (#24618124)
I started messing around with zig in earnest https://github.com/agentultra/zig8 and I have to say that the development experience is great so far. The compile times are fast, the tooling is minimal in the unix sense, and it's been nice to play around with.

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.

Re:Zig's New Relationship with LLVM by ifreund on Monday September 28, 2020 @12:59PM (#24618762)
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.