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

7

u/lithium Apr 24 '20

It's also why visual studio takes 10 seconds to open just the welcome window now.

-3

u/pjmlp Apr 24 '20

Photoshop also takes several seconds to start and is written in straight C++.

Don't mistake languages with lousy programmers.

4

u/lithium Apr 24 '20

Agreed, but in photoshop's case it went to shit when they started using html/js/css for their dialogs.

The fact that VS took a dive when it moved to XAML and C# is undeniable at this point, but I suppose you're right, it could be that they just happened to get lousy programmers at the exact same moment too.

-2

u/pjmlp Apr 24 '20

Have you tried XAML with C++ in UWP?

It worse than with C#, due to having to do AddRef()/Release() all over the place, including crossing process boundaries and sandboxing.

So writing in C++ isn't necessarily a guarantee of blazing performance, other factors matter as well.

2

u/lithium Apr 24 '20

Deviated quite a bit from the original point but you'll get no arguments from me that XAML is slow and bad. One of the major aforementioned "other factors".

(not strictly fair to blame XAML the markup itself, but you know what I mean)

1

u/pjmlp Apr 24 '20

Coming back to my original point it must not be a zero sum game.

Instead of forking C++, while throwing away all the eco-system benefits, just combine it with other language of your liking.

From my point of view there is more to gain from doing polyglot programming than to lose.

Using C# as a better C++ (debatable I know) doesn't mean having to throw away C++.

They are both there on a VS full install.