2 ms·
Do you mean Haskell? because its compiler is very advanced and does complex optimizations.
by wslh 13y ago
Do you mean Haskell? because its compiler is very advanced and does complex optimizations.
- DanWaterworth 13y agoI didn't have a particular language in mind. Though Haskell is certainly a fine choice.
- tel 13y agoIt's semantically well-defined, though. The compiler will never change the value of your result, it will only discover more efficient ways to compute it.
- chongli 13y agoHaskell allows plenty of undefined behaviour! unsafePerformIO, unsafeCoerce, the FFI, even something as simple as unchecked arithmetic can cause it.