anipnwr's blog

By anipnwr, history, 4 years ago, In English

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.

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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.