News for hackers. Stuff that matters.
Re:You can use C-Reduce for any language by Quekid5 on Wednesday November 27, 2024 @02:29PM (#42258936)
> Given a sufficiently bad compiler bug anything is possible, ...

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.

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...