News for hackers. Stuff that matters.
Re:Proposal to add constexpr to C [pdf] by SuchAnonMuchWow on Saturday October 16, 2021 @01:53PM (#28889838)
You should check Zig comptime keyword, which does exactly that. Its the feature from zig I miss the most in C.
Re:Proposal to add constexpr to C [pdf] by User23 on Saturday October 16, 2021 @04:25PM (#28891162)
That sounds like a subset of EVAL-WHEN[1].

[1] http://clhs.lisp.se/Body/s_eval_w.htm