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