New course! Every coder should learn Generative AI!
Try a free lesson+ 2
C++ 🆚 C#
BEST LANGUAGE? CPP OR C#?
11 Answers
+ 11
C++ for sure. Much more control and runtime speed. C# can pretty much only run on Windows.
But that doesn't mean you shouldn't use C#, its like a slightly improved Java (with none of the cross platform benefits).
+ 3
The runtime does introduce a small run time penalty. The slowest part is (in Java as well as in C#) the JITing, which is only done once for every line of code.
In addition to that, the runtime is pretty good in optimizing your code.
For example look at the unity game engine which uses C# to develop games.
IMHO the small run time penalty is a small price to pay for the faster and easier development with C#
+ 2
An for the cross Plattform: There are dot net runtimes running on windows, Linux, Mac and Android. Meaning you can deploy your C#, F# and Visual Basic code to each of those platforms without changing a line of code ;)
0
FUN AREA :D Im not sure that fits with the Q...
- 1
Hi! My new game here!
https://code.sololearn.com/c1UAVn9Ze468/?ref=app
- 1
New code here! Test it!
https://code.sololearn.com/c6yKqm5zEURe/?ref=app
- 1
New program here! Test it!
https://code.sololearn.com/cU79RaWQy83i/?ref=app
- 1
. Ohh... Here guys...
https://www.sololearn.com/discuss/487453/?ref=app
- 1
https://www.sololearn.com/discuss/490139/?ref=app