4 ms·
> not sure it's safe to asume that Rust would fix all the security issues with all the unsafe code that would be? Hi, Article author here. I am not assuming Ru
by stefanha 6y ago
> not sure it's safe to asume that Rust would fix all the security issues with all the unsafe code that would be?
Hi,
Article author here. I am not assuming Rust will fix all security issues. Bugs are still possible even in safe code, plus there will be unsafe code as you mentioned.
Unsafe code also worried me when evaluating Rust. Given the nature of Virtual Machine Monitors and emulators, isn't a lot of the program going to be unsafe? After studying existing Rust codebases and writing programs myself I found that it's still a significant improvement over C.
Whether Rust is safe enough depends on your requirements. For the QEMU, I think the answer is yes. For writing the firmware for a pacemaker implant or control software for a nuclear powerplant, I don't know :).