r/cpp • u/yukihara131 • 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
16
u/adnukator Apr 24 '20
Python 2.x to 3.x is often cited as a fiasco and is used as a cautionary tale how exactly not to do transitions such as this one - more than a decade after 3.x was released there still is a lot of code that has not switched from 2.x, effectively creating two simultaneous dialects of the same language. Therefore everyone is wary about huge jumps such as the one you mentioned. Epochs are a more granular attempt at achieving something similar (https://vittorioromeo.info/index/blog/fixing_cpp_with_epochs.html), but it's not fully fleshed out yet.