Zig comptime is such a powerful built-in feature

I have been following the development of Zig for a while now. I like the idea of a systems programming language that is simple to learn and use, yet powerful and expressive. With Rust, I can get the powerful and expressive part, but the learning curve is a bit steep, and some parts of the language are complex and hard to understand. For example async/await (specially if you have to deal with Streams and Pins); and the macro domain-specific language (DSL). ...

November 3, 2024 · 7 min · Jose Storopoli