Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

C++ too slow for low-level work?

level low slow
0
10 Posted

C++ too slow for low-level work?

0

No. If you can afford to use C, you can afford to use C++, even the higher-level facilities of C++ where you need their functionality. See Abstraction and the C++ machine model and the ISO C++ standards committee’s Technical Report on Performance. • C++ is useful only if you write truly object-oriented code? No. That is, “no” for just about any reasonable definition of “object-oriented”. C++ provides support for a wide variety of needs, not just for one style or for one kind of application. In fact, compared to C, C++ provides more support for very simple programming tasks. For example, the standard library and other libraries radically simplifies many otherwise tedious and error-prone tasks. C++ is widely used for huge applications but it also provides benefits for even tiny programming tasks. • Modern C++ is all generic programming and template metaprogramming? No.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.