2 ms·
There is a lot of new state-of-the-art code being written in C++. I work on code bases that use both Rust and C++ which may seem odd to the casual observer. The
by jandrewrogers 4y ago
There is a lot of new state-of-the-art code being written in C++. I work on code bases that use both Rust and C++ which may seem odd to the casual observer. The reality that isn’t often acknowledged is that they excel at different things despite both being systems languages. For some kinds of software, C++ has far more finesse than Rust, the latter being a bit of a blunt instrument when very complex state interactions are involved — “safe” Rust implementations are comparatively bloated and slow. Rust works better with when state interactions are a bit more linear and straightforward.
The way I am seeing it shake out is that C++ is used for the core and Rust is used for skins and interfaces around the C++ core. It plays to their strengths to some extent.
- randomdata 4y ago> despite both being systems languages. That's an interesting statement. While you can most definitely write systems in C++ and Rust, they really start to excel when you are in the lower layers of the stack where many other languages start to fall short. What is the significance of calling attention to systems development in particular?