Hacker News new | ask | show | jobs
by majorchord 17 days ago
> the Rust is confirmed safe

keep in mind that rust:

- does not prevent logic errors

- does not prevent stack overflows

- does not prevent out of memory errors

- does not prevent bitflips caused by faulty hardware or cosmic rays

- does not prevent memory leaks

- does not prevent unrecoverable errors (panics)

- does not prevent memory safety related issues in an unsafe context

1 comments

GP is referring to the article's title, as in "safe Rust", as in "Rust with no unsafe keyword", as in whether it has undefined behavior or not.

Granted the premise is rather brittle, since all Cpp2Rust does is to convert UB to runtime crashes, which can be undecidable, and cannot be used to prove anything about the original C++ code.