News for hackers. Stuff that matters.
Re:I stopped everything and started writing C again by koe123 on Thursday March 13, 2025 @06:32AM (#43351922)
I have written a lot of Zig comptime code and ended up finding the opposite. In C++ I find I have to bend over backward to get what I want done, often resulting in insane compile times. I've used metaprogramming libraries like Boost Hana before to have some more ergonomics, but even that I would consider inferior to comptime.

Out of curiosity, do you happen to have any examples of what you describe, where C++ is more powerful and expressive than Zig?

There are no comments on this comment yet.