3 ms·
> If a certain piece of software is working well, what is the benefit of rewriting it in Rust? One benefit is it's easier to hide malicious code thanks to Rust
by oguz-ismail 2y ago
> If a certain piece of software is working well, what is the benefit of rewriting it in Rust?
One benefit is it's easier to hide malicious code thanks to Rust's complicated syntax.
- roca 2y agoIt's far easier to hide malicious code in C or C++: just write some subtle undefined behavior that you can write an exploit against. Developers do that all the time even when they're not trying to be malicious. In Rust you'd have to wrap it in "unsafe" which draws attention.