Rust, C++, or Carbon?
In 2022, there are still many memory access bugs in C++ that are difficult to spot and elude even the closest reviews. Issues that can't be solved without breaking backward compatibility for users. Decades of technical debt.
C++ will continue to endure for decades, but greenfield projects that fit the requirements should consider an alternative.
What's the best alternative for performance-critical software? A few options: Zig, Rust, Carbon, or C++.
Speaking of languages, it's time to halt starting any new projects in C/C++ and use Rust for those scenarios where a non-GC language is required. For the sake of security and reliability. the industry should declare those languages as deprecated.
— Mark Russinovich (@markrussinovich) September 19, 2022