logoalt Hacker News

chaz72yesterday at 5:25 PM1 replyview on HN

I get it now. Important things but not things that I use often - hopefully addressed by 1.0.


Replies

weinzierlyesterday at 6:12 PM

I'm not sure there is something to be addressed. Zig has just a different approach and Zig people different expectations.

In Rust we can expand what is possible at compile time without breaking existing code because we took a very careful approach only stabilizing what we are sure about. Some things will probably never be possible at compile time in Rust.

Zig is much more powerful but that also means they cannot take stuff away without breaking existing code and making comptime more restricted. So it is unlikely Zig will ever become like Rust in that regard, but that is ok - just different approaches.

show 2 replies