What is the best compiler for c/c++ ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is the best compiler for c/c++ ?

31st Dec 2020, 5:45 AM
Yeabsera 🇪🇹
Yeabsera 🇪🇹 - avatar
2 Answers
+ 9
There really isn't a best compiler. On windows you should probably use msvc. On Linux either gcc or clang is your best option. It doesn't really matter which one you use but gcc is the most popular one.
31st Dec 2020, 5:51 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 2
<redacted>
31st Dec 2020, 7:44 AM
Shadow
Shadow - avatar