News for hackers. Stuff that matters.
Re:GCC undefined behaviors are getting wild by andrewaylett on Monday November 28, 2022 @07:28AM (#33772771)
C will accept every valid program, at the cost of also accepting some invalid programs. Rust will reject every invalid program, at the cost of also rejecting some valid ones.

("unsafe" (aka "trust me" mode) means that's not quite true, and so do some of the warnings and errors that you can enable on a C compiler, but it's close enough)

There are no comments on this comment yet.