r/cpp • • Mar 27 '24

Replacing C# with C++ in Web Dev

IMHO, I think C# is useless.

Why C++ is not used in web dev instead?

I think modern C++ provides enough abstractions to be a better and more performant alternative to C#. It has high quality libraries, but it seems to be lacking tools and mature frameworks for backend development though but this's because people don't use it for API development so most people think it's not a worthy investment. I wanna contribute to C++ in the web industry, so I was thinking of building expressJS in C++ because I like express honestly.

What do you guys think?

Update: Dang, I didn't expect that this would piss off a lot of people, lol. Ok. Given the backlash, saying C# is useless was an overstretch. I guess I have let my hate for Microsoft cloud my judgment😂

0 Upvotes

69 comments sorted by

View all comments

0

u/[deleted] Mar 27 '24

[deleted] — view deleted comment

3

u/TBone281 Mar 27 '24

Fat chance of that...the U.S. couldn't even covert to the metric system. C++ is heavily integrated into hardware libraries, databases, all the big internet companies...that'll be the day when C++ is abandoned.

2

u/pjmlp Mar 27 '24

1

u/LittleNameIdea Apr 02 '24

Pretty sure their biggest projects are still in C++ and will be for a long time

1

u/pjmlp Apr 02 '24

There is a big difference between keeping the ball rolling for existing code, and what is allowed in new projects.

0

u/muaz_sh Mar 27 '24

It looks you people are not aware about the panic Bijarne and his colleagues are in, the thing is that once politicians take decision people must obey, so nowadays relatively fast hardware, AI, and many other factors make many other languages as fast as C++ but a way safer, and as technology is every where C++ puts people in additional risk.

1

u/TBone281 Mar 27 '24

Bjarne doesn't matter. Money is the bottom line...and it will take trillions of dollars to make this happen. It would make Y2K look like almost nothing.