4 ms·
Rust: - Has the memory safety of Java - But is as fast as C/C++ The thing you have to pay to get that combination, is a LOT more time and frustration figh
by whytevuhuni 2y ago
Rust:
- Has the memory safety of Java
- But is as fast as C/C++
The thing you have to pay to get that combination, is a LOT more time and frustration fighting the borrow checker, and getting things to compile.
But for a kernel (and a few other cases like network servers, browsers, foreign data decoders), I think that trade-off is perfect.
- wtetzner 2y ago> is a LOT more time and frustration fighting the borrow checker, and getting things to compile. As someone who works in Rust professionally, I've only found this to be true in the initial learning curve (which is admittedly steeper than many other languages). But once that up-front cost was paid, I actually find myself more productive in Rust than in other languages.