| ▲ | brabel 3 hours ago | ||||||||||||||||||||||
I just upgraded some code to Zig 0.16.0 and I am actually really happy with the results. It impacted A LOT of things, but the changes were actually very good and seems to have set the language for a bright future, especially with the new IO mechanism which allows supper efficient code that looks good whether it's implemented single-threaded, multi-threaded or just via an event loop! If you haven't tried Zig since 0.16.0 was released, I highly recommend having a look. The release notes for this release were huge!! | |||||||||||||||||||||||
| ▲ | ulbu 2 hours ago | parent | next [-] | ||||||||||||||||||||||
the “(super) efficient” is not there yet. Io is still dynamic dispatch with multiple layers of indirection. afaik it’s slower than before. the upcoming releases are expected to provide a solution to this “dispatch is comptime-known, but still dynamic” problem, and drop the loses in efficiency. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | afirmativ an hour ago | parent | prev [-] | ||||||||||||||||||||||
Maybe one day it'd be possible to use these new features, but I find myself using `.use_llvm = true` in my zig builds for stability and lesser tested targets. | |||||||||||||||||||||||