Why is C++ so fast?

Channel:
Subscribers:
54,000
Published on ● Video Link: https://www.youtube.com/watch?v=8jPPigqtE1c



Duration: 0:43
193 views
2


Why is C++ so fast?
Jul 1, 2011

Reason 1: Tight Data Structures. First, C++ is intrinsically stingy with memory (unlike Java objects, a C++ struct has no memory overhead if there are no virtual functions [modulo word alignment issues]). Smaller things run faster due to caching, and are also more scalable. Of course, this is true of C, too.


··········

“Be competent, be more skilful than others. Here you will find the answer to all of your questions.”

✋ The purpose of our channel is to create EDUCATIONAL content. That was our intention with this video as well. We would like to give you COMPLETE INFORMATION on the subject, so unfortunately we can also discuss elements that may be hurtful to people.







Tags:
Why is C++ so fast?
frequently asked question
question and answer
answer