3 ms·
C++ and Rust are not competing languages. In many instances, they actually compliment each other pretty well. Rust offers native interop for C++ code, but the c
by smoldesu 5y ago
C++ and Rust are not competing languages. In many instances, they actually compliment each other pretty well. Rust offers native interop for C++ code, but the cost of running it is that it's labelled "unsafe" and doesn't offer any of the memory safety that truly "safe" Rust code offers (duh). With that being said though, most of the infrastructure that C++ left behind is perfectly usable in Rust. With that in mind, the "15 year plan" for Rust is to work alongside C++, giving developers a safer, oftentimes easier option for writing performant code.
Rust isn't the anything killer, Rust is Rust. That's why it's so special; it's really in a league of it's own.