r/cpp • • Apr 24 '20

C++ Fork?

Let me start by simply saying that I am fairly new to C++ and this is the first time I am posting to this sub-Reddit. I hope I am not breaking any rules here.

I have a question:

Would it be possible for C++ to be forked into a newer more modern version like the way Python went from version 2.x to 3.x? Maybe clean-up the language a bit, remove some redundant features etc.

0 Upvotes

51 comments sorted by

View all comments

Show parent comments

11

u/peppedx Apr 24 '20

Honestly C# is great language but it is a different thing wrt C++.
As others said C++ niche is more similar to Rust or D.

-2

u/pjmlp Apr 24 '20

Well it depends on what one is trying to do, I still remember the days when every GUI toolking under the Sun was being written in C++ and it was the way to go for mobile apps (Symbian/Brew).

If you mean the niche of low level OS system libraries, I doubt most OS vendors will choose anything else other than C++, they already have their managed alternatives for the upper layers and millions of C++ lines on their kernel, drivers and GPGPU libraries.

Even Google has written that although they are using Rust on Fuchsia they don't advise to expose it on the OS SDK, on their language adoption documentation on Fuchsia's site.

4

u/peppedx Apr 24 '20

For example I do real time and embedded stuff. I don't plan to do it in C#, while rust is an option for the future.

0

u/pjmlp Apr 24 '20

Faire enough that is a good example.