---

Ruby Compiled With Clang Is Noticeably Faster Than GCC

While in our benchmark runs the performance of generated binaries between GCC and LLVM’s Clang C/C++ compilers are generally quite close, there are exceptions.

When it comes to real-world usage of Clang, most companies tend to just utilize Clang for now when producing debug builds due to its faster compile times and better diagnostics than GCC, but GCC still ends up getting used for producing release/production builds.