r/cpp • u/Alex_Medvedev_ • Jul 25 '24
Why use C over C++
Why there are so many people using the C language instead of C++?, I mean C++ has more Cool features and the Compiler also supports many CPUs. So why People still using C?
Edit: Thanks for all the usefull comments :D
235
Upvotes
1
u/Alex_Medvedev_ Jul 25 '24
Hey, I just tested Hello World in both languages using Compiler Explorer (https://godbolt.org/).
The assembly is a bit different but very similar, Hard to say which is better