3 ms·
There are definitely some regions of existing code where legitimately replacing the existing C/C++ functions with Rust is justifiable on its own. The big one I
by jcranmer 2y ago
There are definitely some regions of existing code where legitimately replacing the existing C/C++ functions with Rust is justifiable on its own. The big one I can think of is parsing code--things like parsing fonts (as sibling mentions) or A/V codecs are things that have historically been replete with exploitable memory safety issues and are reliably untrusted data.
- csdreamer7 2y agoThreading is another case. The Asahi's gpu Tust driver was able to avoid a lot of threading issues because of Rust.