News for hackers. Stuff that matters.
Re:Is C++ Doomed? by bullen on Wednesday February 23, 2022 @04:44PM (#30446938)
I think the first step is to explain to people that C++ is just C with more stuff, the original is way simpler and the ONLY real reason to use a C++ compiler is that most dependencies that you need (OpenGL, OpenAL etc.) uses C++ by default.

That took me 3 years to figure out on my own, such a waste of time.

In C++ defense namespaces, strings and streams do have some usefulness to them, but if I could use a C compiler to build a modern 3D MMO I would remove those in a heartbeat!

Edit: I know there are construed ways to call the OpenGL API directly without wrapper, but GLEW (damn Windows) is too comfortable for me to switch yet... Eventually I might switch to TinyC and write my own OpenGL/AL... That or implement my own J2ME!

Re:Is C++ Doomed? by Jtsummers on Wednesday February 23, 2022 @05:01PM (#30447153)
OpenGL, at least, is a C API, not C++. If you're using it directly, there is no need to use a C++ compiler. EDIT: And I just double checked, OpenAL is also a C API.
Re:Is C++ Doomed? by isaiahg on Wednesday February 23, 2022 @05:12PM (#30447274)
All those things are C APIs not C++
Re:Is C++ Doomed? by tubs on Wednesday February 23, 2022 @05:07PM (#30447219)
OpenGL is a pure C api, absolutely not c++.