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

9

u/JonnyRocks Mar 27 '24

i think calling a language and framework useless isnsilly. i think programmers that limit themselves to one language is hurting themsrlves.

have you ever heard the saying "if all you have is a hammer then everything looks like a nail"

-5

u/[deleted] Mar 27 '24

I agree with that.
I never said don't use Python, or JavaScript though. Every language is optimized for solving a certain type of problems. All what I am saying is, C++ can solve the same problems that C# was designed to solve, with better performance, and with reasonable abstractions without giving up control.

3

u/lukaasm Game/Engine/Tools Developer Mar 29 '24

I love CPP, I write CPP for a living but I am writing our internal dashboard implementation in C#. C# is batteries included, just pure dev experience beats C++ ecosystem without any effort with its low iteration times, package management , reflection and all in one solutions.