Блог пользователя anipnwr

Автор anipnwr, история, 4 года назад, По-английски

I recently found that clang is better than gcc in many ways( according to some blogs ). I tried a lot but couldn't find a build system for compiling c++ code using clang in sublime text. Can anyone please share it here. It can help many other people.

Thanks in advance.

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
4 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I definitely disagree with you. At least for competitive programming, GCC is better than CLANG.

Some reasons:

  1. Most official contests (as IOI/ICPC) use GCC as compiler in their judging system.

  2. In GCC you have access to some libraries not from the standard C++, like the ones for using policy-based data structures.