News for hackers. Stuff that matters.
Re:Why Not Just Do Simple C++ RAII in C? by samatman on Friday May 24, 2024 @01:46PM (#40468597)
Rust includes a great deal of undefined behavior, unlocked with the trustme keyword. Ahem, sorry, unsafe. If only...

So if we're going to be pedantic, it's safe Rust which has defined semantics for basically everything. A considerable accomplishment, to be sure.

Re:Why Not Just Do Simple C++ RAII in C? by steveklabnik on Friday May 24, 2024 @01:53PM (#40468674)
While this is true, we’re talking about integer overflow. That’s part of safe Rust. So it’s not really germane to this conversation.