Jenna Magius @jennamagius@octodon.social
Follow

{integer} + {integer} in Rust is like... "panics on overflow in debug configuration, but silently overflows in release configuration.

THAT'S GARBAGE.

IF YOU WANT a.overflowing_add(b), CALL a.overflowing_add(b)!!!!! It's there!!! It's zero runtime overhead!!!

· Web · 0 · 0