logoalt Hacker News

Surac • today at 1:57 PM • 4 replies • view on HN

The question is. If rust used rust would that have prevented this?


Replies

zamalek • today at 3:16 PM

Rust does not prevent all bugs, only certain ones (that are common and dangerous).

romac • today at 5:57 PM

The Rust compiler (rustc) is written in Rust, but there can always be bugs in the compiler, regardless of whether it's written in a memory-safe language or not.

loa_in_ • today at 4:02 PM

Rust allows for type-proofing your logic, but it can't force you to.

efficax • today at 2:08 PM

no