News for hackers. Stuff that matters.
Re:Comparative unsafety by cryptonector on Friday April 09, 2021 @11:46PM (#26758752)
Although `~0` assumes twos-complement signed numbers. Which, well, is probably a safe assumption, but still.
Re:Comparative unsafety by IshKebab on Saturday April 10, 2021 @09:28AM (#26761340)
All modern computers use twos-complement and modern languages like Rust require it. Not assuming twos-complement is a theoretical nitpick along the lines of not assuming a byte is 8 bits. Nobody does that.