Why C++ Is Popular

💖 My Website ➡️ CodeHawke 🦅 – https://www.codehawke.com/all_access.html
Join thousands of satisfied students by choosing the All Access option today. All Access will provide you with over 20+ courses and 40+ hours of in-depth practice and study using the latest programming technologies.

Linode Cloud Computing ($100.00 CREDIT)

— Why C++ Is Popular —
In this video I’m talking about why C++ is awesome and why it’s remained dominant for nearly 40 years now.

Patreon – http://bit.ly/ChrisHawkesPatreon
Twitter – http://bit.ly/ChrisHawkesTwitter
LinkedIn – http://bit.ly/ChrisHawkesLinkedIn
GitHub – http://bit.ly/ChrisHawkesGitHub

44 thoughts on “Why C++ Is Popular

  1. A friend of mine who was hired to do C++ soon began to focus far more on writing Python scripts because C++ was a major overkill for that company in which he was able to make far more money soon after. That when I began to learn Python as a hobby which… 2 years later… created an Python project within months for a manufacturing company that everybody loved which jumped my hourly pay from $16/hr to $40 with commission… and increased our sales about 50x.

    Seems like most managers are not aware that Python is a far better choice for them.

  2. Yea, C++ is hard. Much of this difficulty can be mitigated by:
    1. Use a subset. You don't need to know the whole language to get started using C++ on your project.
    2. Use the STL, in particular the containers.
    3. I strongly recommend looking at Qt for its containers and GUI
    4.Use MODERN C++ >= C++14. Use smart pointers and/or Qt's memory model.

  3. It always amazes me that people complain about C++ or say that it's hard to learn, but then go on to advocate using C.

    At least say an easy language like Python.

  4. – Force is being with C++ anakin. Use C++ not Python.
    – Never underestimate power of Python programer.
    – lt is over anakin (compiled with no errors). l am at low ground near of the hardware.
    – ahhh!
    – You must be the efficent and reliable. : (

  5. C++ is surely good but when you say you can do anything in C++,
    1)How many web frameworks are there in C++?
    2)MySQL/many OSes are written in C++ but how many people are Really needed in industry to do such stuff ? If i learn C++, will i really get a job to do these things? i doubt.
    3)C++ is used in games but total game programming community is very small i guess, may be 5% of total programming population? If i do some 2/3 c++ projects in C++, will i get qualified to apply for game programmer in Electronic Arts or some gaming company?

  6. for some reason to me c++ is easier than python because with c++ i rapidly.understand how it works uner the hood, gives me a good idea of how the comluter uses the code im writing rather than just seeing what happens if i put some code, you can understand the why with c++

  7. I dont honnestly understand the hate for c++. I find it beautifull. Its not easy very true however … when you understand it … oh dear gosh its beautifull. I doubt ill ever bother with another language.

  8. No.


    C++ is not a good automation language because it's too complicated for this. Bash is usually the automation language of choice, substituted by Python when it gets too hard.
    C++ is the language of choice because of legacy, because of popularity. It is SLOWER than Rust on the same algorithms.

    Rust is not simpler than C++. I am familiar with C++ from the universe, and managed to fix some bugs in open source software that I used, but I didn't create anything worthy in it. I decided to learn Rust, and actually spent a lot more time on Rust than I did on C++, and it's freakin' hard. C++ as a language is stupidly simple. Rust is not.

    Go is definitely not a substitute for C++. Go can replace Java or C#. It's slower than Java usually because of its slow and bad garbage collection, to which Go developers say "Just don't produce garbage, you twat".
    Go is significantly slower than C++ too. In fact, Go is as fast as Python3 with @numba.jit, but numba reduces the abilities quite a lot. PyPy might be an alternative.

    You know what's as fast as C++, but much simpler, and a lot more syntactic sugar? D. It never got popularity because it appeared around the same time as Rust, and Rust filled in a needed niche, while D had to win territory from both Python and C++, and it's a hard market.

    BigData has almost nothing to do with C++. That couldn't be further from the truth. Unfortunately BigData is dominated by JVM languages like Java and Scala. You name them: Spark, Kafka, whatever – all Java. People even put Cassandra into the mix, which is also Java. And because of Java it suffers a lot. C++ does power other tech that CAN BE used for BigData, like Cassandra's direct alternative – ScyllaDB (that nobody uses), or ClickHouse (which is extremely fast but nobody uses). Also TensorFlow to Big Data is like WordPress is to game engines, with the exception that WordPress has some of the shittiest code out there.

    The truth is that C++ is only popular because of legacy, because it can be built on any device because it's the first language (other than assembly) that people usually address when designing hardware.

  9. The first time I learned anything coding related was in university, in my biochemistry studies. First semester, we learned C++ using pen and paper. I shit you not, no computers and nothing, we wrote our exercises and our final exam on PAPER. No "lemme just run this code to see what happens", no spell check, nothing. All lines written by hand, on paper.
    I later learned to use Python and now Java, but C++ will always have a special place in my heart.

  10. Because technologist are typically the biggest obstacle to innovation. Actually for multiple threaded Java is faster than c++. C++ does not scale well with distributed processing or with complexity. It's good for games because you don't care if the game crashes and it's fps stable

  11. As a super beginner with C++, like 200 pages into a first start guide book, I don't find it hard so much as tedious. Though I still enjoy working with it thus far. And it felt really good to learn some C++ and then try some Python. Doing stuff in Python was so easy by comparison that it made me feel like an expert even though I'm a total neophyte.

    C++ feels like I'm getting hands on with the machine. And I enjoy that as a casual just learning some code for fun.

  12. Let's be honest though, no modern language should have the amount of redundancy and overhead that header files give C++. As soon as computers became powerful enough to compile it directly an alternative should have taken its place.

    Spending 5 minutes with any other popular language truly highlights how archaic and unnecessary the whole concept is.

  13. what you gonna use? shitty python where it doesnt register you spaces. or java with garbage collector that causes glitches for large softwares?

  14. I learned C as my first language in university and i will continue to lern c++ in the upcoming time. I never really learned another language, just saw some code and i have to say that the C code is pretty much easier to read than in some other language. Maybe thats just because i don't now them..

  15. In C++ we don't say "Missing asterisk" we say "error C2664: 'void std::vector<block,std::allocator<_Ty>>::push_back(const block &)': cannot convert argument 1 from 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<block>>>' to 'block &&'".


  16. Every youtuber recommends Bjarne's book for beginners. It is for intermediate programmers or for people who want to know EVERY detail AFTER they have a solid fundation in the language. It has way too many details for beginner programmers, it describes ever nook and cranny of the language which is way too much for any beginner programmer.

    When learning c++ i recommend to do it gradually. At first learn all the basic features of the language, and dont bother about too many details. It WILL overburden you otherwise.

    Pluralsight has some really good introductory courses available, also that are several websites dedicated to introduce you to the language for free.

  17. IMHO C++ will go down because most software development will cease in the next ten years, as companies outsource to frameworks. Most companies cannot pay for the dev work of custom made software any more. Configuring neural networks and designing learning sets will be the next big thing, if you want to keep a high paying job. Sure, there will programmer jobs, just not such a large number as we experienced in the last 25 years. As more and more programmers compete for fewer jobs, the salaries will come down dramatically while the quality expected will shout up…

  18. C++ requires some kind of prerequisite to learn, which is why other, more simplified languages are used. C# is easy to get into and can help lead on into C++, but some may prefer to stick to simplicity to either make work faster or just because they want to avoid the mistakes you can make in a wider language.

  19. I noticed the lack of mention to Ada as a C++ competitor
    Ada2012 seems to me better than C++2015 for any beginner, and I have to admit that post and preconditions were a nice add to both, but man it is not elegant to write on Ada compared to the obfuscated C family.
    Contract Programming just works better with argument qualifications than pointer arithmetics. Sorry! But it’s true!

Leave a Reply

Your email address will not be published. Required fields are marked *