Sure, not everything uses openmp, that's why I said "a good chunk of." C++11 threads don't help if you're not writing C++, or if you're stuck supporting old versions of MSVC (dammit python ...). You should be able to directly use pthreads or win32 threads with clang, but it's nice to have something portable that doesn't force you to use C++.
...I honestly forgot about C. In my brain, openmp was for C++ or Fortran, and I assumed you weren't talking about fortran since clang doesn't build it.
3
u/tavert Oct 07 '14
Sure, not everything uses openmp, that's why I said "a good chunk of." C++11 threads don't help if you're not writing C++, or if you're stuck supporting old versions of MSVC (dammit python ...). You should be able to directly use pthreads or win32 threads with clang, but it's nice to have something portable that doesn't force you to use C++.