News for hackers. Stuff that matters.
Re:Why is Zig so Cool? by jandrewrogers on Saturday November 08, 2025 @12:54PM (#45858523)
It is difficult to overstate how useful compile-time execution is in practice. I can't imagine using a systems language without it now. The term "modern C++" largely denotes when compile-time execution was added to that language.

I would love to see Rust get compile-time execution that is as capable as Zig or C++20.

Re:Why is Zig so Cool? by nicce on Saturday November 08, 2025 @03:42PM (#45859794)
> I would love to see Rust get compile-time execution that is as capable as Zig or C++20.

Can you give examples? Const functions are pretty capable in Rust already.

Re:Why is Zig so Cool? by kllrnohj on Saturday November 08, 2025 @07:20PM (#45861602)
> I would love to see Rust get compile-time execution that is as capable as Zig or C++20.

Isn't that just macros which are way more powerful than what Zig or C++20 offer?