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

7

u/Jataman606 Apr 24 '20

Its called D and didnt really get traction.

23

u/bizwig Apr 24 '20

Whatever D’s other merits, garbage collection was a bridge too far for a lot of potential adoptees.

10

u/echidnas_arf Apr 24 '20

I think it's a fascinating example of how chasing the current fashion in language design can ultimately have detrimental effects.

Garbage collection used to be all the rage in the Java heydays of early 2000s. Not so much today eh :)

4

u/sindisil Apr 24 '20

Yup.

You certainly don't see ubiquitous use of GCed language implementations these days.

/frantically-trying-to-push-JVM/CLR/JavaScript/Python/Swift- back-behind-a-curtain

2

u/max0x7ba https://github.com/max0x7ba Apr 24 '20

You certainly don't see ubiquitous use of GCed language implementations these days.

You just don't notice that you use JavaScript all the time. Like when you typed your post.

Also, have you heard of Android which runs Java apps?

3

u/lanzaio Apr 24 '20

You completely misread he's post. He's mocking the guy he's responding to and expressing the same thing you are.

2

u/sindisil Apr 25 '20

"mocking" is perhaps a bit strong, but yes, I was being sarcastic.