3 ms·
Many Rust programmers never learned C, or have only a cursory understanding of it. Most C++ people I talk to would strongly disagree that in C++, you should do
by steveklabnik 9y ago
Many Rust programmers never learned C, or have only a cursory understanding of it.
Most C++ people I talk to would strongly disagree that in C++, you should do things the C way.
- pjmlp 9y agoThe C way in C++ should only be used the same way as unsafe in Rust. Very well hidden in safe abstractions, and validated by a profiler that they are actually better than the safer C++ alternatives.
- renox 9y agoYes and no: when you want to do real-time programming (either no allocation or allocation only during an 'initialisation' phase) using C++ like a better C is a good idea IMHO.