|
|
|
|
|
by ammar2
1093 days ago
|
|
Sure but you're missing the > so long as you are diligent about checking invariants part. Could you go through and check all the parts of a huge C++ codebase to make sure invariants are held as opposed to a few hundred lines of unsafe Rust code? |
|
Presumably if it takes a lot of unsafe rust lines to build something, it won’t matter if it’s 30% safe or whatever.
I just see the point of “unsafe is fine” a lot when the whole point of rust is that memory safety issues are never worth the cost.