3 ms·
Correct, it depends on the use case. Nobody is saying you should write everything in C++. But there is plenty of software that actually uses your CPU for data p
by MauranKilom 8y ago
Correct, it depends on the use case. Nobody is saying you should write everything in C++. But there is plenty of software that actually uses your CPU for data processing where speed is absolutely crucial. If you know that every second (or 100 ms) saved in every functionality your software offers will eventually matter, would you still choose the more pessimistic performance guarantee?
Did you know (at the point where the entire architecture was chosen) that you will get 100 ms with a safer language? What if you got 1000 ms and C++ got 100 ms?
- pjmlp 8y agoThing is, C and C++ aren't the only language with those capabilities, e.g. CPU for data processing. What to live on the danger zone and disable bounds checking on e.g. Turbo Pascal? Surround the critical performance code path with {$R-} and {$R+}, while enjoying safe bounds checking everywhere else.