3 ms·
Seems a bit silly to rewrite working software in a relatively new language. I like Rust, but it has its own trade-offs. The big one for QEMU being that QEMU dev
by jeffreyrogers 6y ago
Seems a bit silly to rewrite working software in a relatively new language. I like Rust, but it has its own trade-offs. The big one for QEMU being that QEMU developers and users tend to know C already and not be familiar with Rust.
- steveklabnik 6y agoThis blog post agrees with you, and says that re-writing the code in Rust is a bad idea.
- staticassertion 6y agoRewriting the device drivers would be huge. Having been tasked with "Make a QEMU environment safe against advanced attackers" memory safety issues in device drivers were by far the most concerning issue, and the hardest to mitigate.
- jeffreyrogers 6y agoRust definitely has that advantage. The downside is most device driver programmers know C, not Rust. So if you want other people to work on your driver you either have to expect them to want to work on it badly enough to learn Rust or to already know Rust.