Re:You can use C-Reduce for any language
by cztomsik on Thursday November 28, 2024 @04:57PM
(#42268790)
IIRC there's `zig reduce` builtin in Zig :)
https://github.com/ziglang/zig/blob/master/lib/compiler/redu...
I can't help but wonder about the consteval/constexpr machinery in the various C++ compilers... It'd be interesting to see how much adversarial input has been tested for those.
(I guess Zig's comptime might also be relevant, but I'm not sure what that's allowed to do. Maybe execute arbitrary code?)
... anyway just a stray thought.