News for hackers. Stuff that matters.
Re:DARPA project for automated translation from C to Rust (2... by Rendello on Wednesday October 01, 2025 @10:12PM (#45445736)
I used Zig in the past (after my "why don't we just write everything simply in C" phase). I don't think I used comptime too much, but I understood why it would be useful.

Now I write Rust and absolutely love it, except for the damn macro edge cases, like not being able to use a known-at-compile-time string for format!() unless it's a literal (I even tried to fake it with more macros, no dice). I think Zig's Andrew Kelley mentioned this exact scenario, if I recall correctly.

It's funny because I do write a lot of code that generates code, but I avoid macros if I can.

There are no comments on this comment yet.