|
|
|
|
|
by asdf-asdf-asdf
2276 days ago
|
|
i don't think i missed the point here. i wrote:
"i do understand code using "unsafe" can be safe if the developer does not make mistakes. the problem is, developers do make mistakes." you wrote:
"Usage of unsafe is effectively flagging areas for peer review. You can't build everything in safe Rust - certain things _require_ the use of unsafe. Having it gated, reviewed, and so on is effectively a check on a class of bugs that can be hard to pin down." it's the same thing. the difference is that you look at it from the glass-half-full point of view (it's good that must-be-verified-by-a-person blocks are limited here), and i do from the other end (it's bad that these blocks are necessary). |
|