News for hackers. Stuff that matters.
Re:Why Zig when there is already C++, D, and Rust? by iFreilicht on Saturday January 16, 2021 @06:32PM (#25806561)
The “no metaprogramming” is a bit of a misnomer. The thing is that Zig uses the exact same syntax for metaprogramming as for regular programming, you just add the comptime keyword and use types like variables. This is a much more ergonomic approach than having a completely separate syntax, which is really common and imho annoying in other languages.

There are no comments on this comment yet.