Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In contrast to this, "comptime" is one of Zig's innovations which completely removes the need for preprocessors and code generators without leaving language you're programming in.


I look over at Zig with envy every time I have to write and, inevitably, look up how to write a Rust macro.


Will Rust ever get Zig-style comptime support? Is that something that’s in the pipeline?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: