News for hackers. Stuff that matters.
Re:A look at the Mojo language for bioinformatics by jakobnissen on Monday February 12, 2024 @01:56AM (#39342235)
That's not right, Rust only checks for overflow in release mode for numbers where its value is known at compile time. In debug mode all operations are checked for overflow.
Re:A look at the Mojo language for bioinformatics by FridgeSeal on Monday February 12, 2024 @06:51AM (#39343844)
Aahh, my bad. TIL.
Re:A look at the Mojo language for bioinformatics by estebank on Monday February 12, 2024 @10:08AM (#39345576)
Integer overflows can be enabled in release mode by modifying your Cargo.toml with

    [profile.release]
    overflow-checks = true
IMO it should have been the default.