Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
devTea240886y@irene I’m trying to make it as our devrant++ user
Yeah it’s bad, I’ll see myself out
Edit: 600 comments in 10 days 😲 -
devios157706yOk since nobody’s actually answering (probably because there are a LOT of differences) let me take a quick stab:
Both are statically typed, but the main difference is that C++ compiles directly to machine code and has no runtime. C# compiles to an intermediate form called bytecode that is more portable but requires a runtime engine to execute it.
C# is somewhat higher level and has more modern features like automatic memory management (garbage collection) while C++ is of an older school and allows you direct access to memory, though modern C++ has things like shared_ptr for automatic reference counting. -
In C++, you can omit the BS and compile (most) C programs, which gives you a decent language, while you can't do that in C#.
what is difference between #C and C++ language coding?
question
#c and c++ coding