3 ms·
> This was done to deal with remarks Chromium devs had against Rust C++ binding. I have a hard time believing those Chromium devs know what they want. Their r
by fluffything 6y ago
> This was done to deal with remarks Chromium devs had against Rust C++ binding.
I have a hard time believing those Chromium devs know what they want.
Their request allows safe Rust to introduce undefined behavior, making the unsafe Rust keyword meaningless (since now you can't even grep for the places in the code where this UB is introduced), and eliminating the actual reason they want to use Rust in the first place (to avoid undefined behavior, segfaults, CVEs, etc.).
The only thing complying with the request will achieve is hurt the language. Once the chromium devs start hitting the same CVEs and segfaults in Rust that they were hitting in C++, they will just tell the whole world that Rust is as bad as C++ and using it is not worth it.