3 ms·
There are many reasons why I use C++ only if I must, even though I know it very well. - Maintaining two slightly different versions of most declarations is unp
by fauigerzigerk 15y ago
There are many reasons why I use C++ only if I must, even though I know it very well.
- Maintaining two slightly different versions of most declarations is unproductive.
- Not having a stack trace when the program crashes slows down debugging tremendously.
- C++ compilers are horribly slow
- Shared pointers are very slow memory hogs but not using them makes memory management a lot more error prone.
- C++ isn't faster than Java any longer, sometimes even a lot slower, unless memory is the bottlenck (which is often the case though)
I use C++ only if I absolutely must determine the exact memory layout of data structures.