467,166 Members | 1,065 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,166 developers. It's quick & easy.

What you guys think of modern C++ compared the "old days" ? Is it bloated now ?

1) What you guys think of modern C++ compared the "old days" ? Is it bloated now ? for example do you dislike the STL or the new syntax or other things/concept in the language compared the old day like old C++98 standard before auto pointers things like that when the language was changing ... (still a lot of old codebase out there)

2) Do you feel C++ is less popular/important/useful today compared the past ? I mean you can push some webpage in Javascript and earn more money with 1/4 the skill in programming doing some React ? When C++ shine today outside the game industry where salary are really low compared to C# and Java ?

3) What's your opinion about web assembly ? do you believe that C++ could enter the webdev space if things get off strong and something could replace JS in the webdev ecospace ? for example a senior C++ dev could create the same program with how much "x" performance more than the really same things done in Java/C# with pure memory manipulation or others advanced tricks etc... could the same be apply to webdev in the long run or mobile dev and gain performance as a whole ?

thank you very much for your time
Dec 18 '20 #1
  • viewed: 1245
Share:
2 Replies
SwissProgrammer
128KB
C is a foundation.
I have not found any bloat in it.

C++ is a foundation.
I have not found any bloat in it.

All of that other stuff sits on a C or C++ foundation.

What that other stuff can do, C or C++ can do better.
Dec 19 '20 #2
Expert 256MB
Subjective and opinion-based answer.

1) What you guys think of modern C++ compared the "old days" ? Is it bloated now ? for example do you dislike the STL or the new syntax or other things/concept in the language compared the old day like old C++98 standard before auto pointers things like that when the language was changing ... (still a lot of old codebase out there)
STL makes heavy use in competitive programming. The same is achieved via the collection framework in Java. Such perfectly tested additions to the language relieve the programmer to not worry about the basic functions and rather focus on solving the problem statement. Every addition may or may not necessarily prove useful to everyone.

2) Do you feel C++ is less popular/important/useful today compared the past ?
Not at all. C++ is powering the world, a lot.

I mean you can push some webpage in Javascript and earn more money with 1/4 the skill in programming doing some React ? When C++ shine today outside the game industry where salary are really low compared to C# and Java ?
Selection for the right weapon is required according to the needs. That doesn't make the other tool or tech irrelevant. Scripting languages are relatively easier than programming languages because much of the background stuff is taken care of automatically. C++ is much faster than Java and allows low-level interaction. But there is no concept of pointers in Java. Plus many other comparisons.

3) What's your opinion about web assembly ? do you believe that C++ could enter the webdev space if things get off strong and something could replace JS in the webdev ecospace ? for example a senior C++ dev could create the same program with how much "x" performance more than the really same things done in Java/C# with pure memory manipulation or others advanced tricks etc... could the same be apply to webdev in the long run or mobile dev and gain performance as a whole ?
The tech world changes every single day. Countless frameworks and changes are being introduced eventually. For example, Java applets were deprecated in 2019. Java applets were kind of overshadowed by Flash because of the file size and many other factors. Adobe has announced that flash player is going to be deprecated this month. Replacing JS would be tough unless all the browser engines are built from the ground up. There's a huge codebase of JS libraries and frameworks. JS has been a tremendous success already and in my opinion, isn't going anywhere anytime soon.
Dec 19 '20 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by echo01 | last post: by
1 post views Thread by Luis Ferrao | last post: by
3 posts views Thread by Stan Canepa | last post: by
14 posts views Thread by colombianpimp28@hotmail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.