|
|
|
|
|
by timidger
2612 days ago
|
|
Author here. Ignoring the social impetus in the Rust community to not use unsafe, I also don't feel like unsafe Rust is something I want to program in all the time. When I program in safe Rust I can be happy once it compiles because I can ignore all of the safety problems that come from C and C++. However in unsafe Rust not only is it much more difficult to express what I want syntatically (the lack of auto deref is very annoying, having to write (*base).value all the time gets very old) and semantically (there is no standard for the unsafe parts of the language - not so much a problem if only smallish parts of this usage is used (because once a standard comes out just that can be updated) but a problem if a whole program is written in it). Unsafe Rust is "good enough" to try to encode these abstractions but I would not use it over C or C++. |
|