0

If c# is better than c++ in terms of evolution, so why we don't move on?

c# also has that pointer stuff, so why people don't move to a newer technology? it just don't make any sense for me.

25th Feb 2017, 9:23 PM
André Morales
André Morales - avatar
1 Resposta
+ 8
To add to what Marlon has written, the main problem with C# compared to C++ is high memory consumption, which eventually slows down the .NET software. C# JIT compiler runs at runtime, and isn't able to allocate too much time for optimization since the end user would notice it if it takes too much time. On the other hand, a C++ compiler has all the time it needs to do optimizations at compile time. Both of these results in C++ generally having higher performance compared to C#.
26th Feb 2017, 2:32 AM
Hatsy Rei
Hatsy Rei - avatar