Hacker News new | ask | show | jobs
by m00dy 2484 days ago
C++ is the biggest cancer in the industry. I can't really understand how people can easily say its name. A C++ programmer needs to understand not only language syntax but also underlying operating system and its internals. This is completely different job and therefore needs completely different expertise. I don't even want to mention hardware limitations, cpu architectures, etc. So, don't use C++. It is not mainstream anymore and hopefully it will be a thing of past.
2 comments

Not mainstream?!?

I guess we have been using different platforms, so is the bubble of web development.

Just for your education, Python ML research, is just glue for GPGPU libraries written in C++, NVidia nowadays specifically targets their GPGPU designs to match C++ semantics, Apple, Google and Microsoft use C++ for their drivers, Metal shaders use C++, AAA game industry breathes C++, Fintech uses a mix of Java/.NET and C++, LLVM and GCC, the beloved FOSS compiler stacks are written in C++, AUTOSAR requires C++14, Arduino Sketch is actually C++,…

C++ might have a couple of flaws, not being mainstream is certainly not one of them.

> A ... programmer needs to understand ... underlying operating system and its internals

Oh the humanity!

I weep for mankind and for the industry if this is where we have fallen.

Quick question: are you a Javascript programmer?

Well I mean that is the point of abstraction.. if we always had to have our heads at the lowest level we would not be productive what-so-ever.
"understanding the basics of the operating system internals and how your code interacts with them" is far, far from the lowest level.

It is also an essential understanding for writing quality, performant code in any context--web development included, even frontend.