News for hackers. Stuff that matters.
Re:A bit of background on compilers exploiting signed overflow by mempko on Sunday May 08, 2016 @04:48PM (#11655741)
With every additional compiler check, you reduce the set of possible programs. It would be interesting if the checks could be easily programatically defined and inserted by those who care. I think Perl6 is probably the best modern compiler that allows this.

I agree, it should not be the compilers job to decide the set of possible programs. The hardware guys figured this out long ago. Afterall, CPU registers are untyped.

Re:A bit of background on compilers exploiting signed overflow by akkartik on Sunday May 08, 2016 @05:45PM (#11656056)
Can you elaborate on what checks Perl6 permits programmers to ask for?
Re:A bit of background on compilers exploiting signed overflow by raiph on Sunday May 08, 2016 @08:29PM (#11656785)
Aiui you can have any checks you want.

Aiui, simplifying, every operation is a function call so you just write a function body that corresponds to what you want the operation to be with the checks you want.