Clang

19 engineers on Hacker News describe using Clang first-hand: 3 endorse it, 2 regret it, 2 are mixed.

56%trust
19first-hand users
14in production
endorse 3mixed 2regret 2uses, no opinion

“with gcc or clang that works regardless of platform, with compiler-specific options.”

endorse · personal · adrian_b · 2023-12-26 · source ↗ · wrong label?

“Not mentioned in this doc, I like using `-fsanitize=safe-stack` in release builds.”

endorse · personal · nlewycky · 2023-11-30 · source ↗ · wrong label?

“we switched from GCC to Clang, and noticed a couple of massive regressions (on the order of 50%?) in performance having to do with floating point”

mixed · production · sakras · 2022-11-14 · source ↗ · wrong label?

“When we tried using clang for Android compiling C++ code half a year ago it caused problems”

regret · production · tobias3 · 2015-12-21 · source ↗ · wrong label?

“I can't even get through getting Clang, LLVM, and Emscripten built from source as it is, it's such a house-of-cards”

regret · personal · moron4hire · 2015-06-17 · source ↗ · wrong label?

“we can't just drop in Clang and expect everything to work.”

mixed · production · inglorion · 2014-02-25 · source ↗ · wrong label?

“I just ran syntax check with clang and it already found a bunch of pretty serious bugs, so it's not only faster but better at finding errors too.”

endorse · production · dirtyaura · 2010-10-07 · source ↗ · wrong label?

“I now have a test to make sure my XOF code generates correct vectors with both GCC and clang”

neutral · production · strenholme · 2026-09-22 · source ↗ · wrong label?

“That was on MacOs Clang Arm.”

neutral · production · Leherenn · 2024-12-13 · source ↗ · wrong label?

“an interesting tool we introduced in our codebase for thread safety”

neutral · production · antonio2368 · 2023-09-27 · source ↗ · wrong label?

“gcc/clang exits. compilation is complete.”

neutral · personal · CuriousCosmic · 2022-11-22 · source ↗ · wrong label?

“I got schooled in that by clang, again, recently”

neutral · personal · phoehne · 2022-11-21 · source ↗ · wrong label?

“things work fine in msvc/GCC/clang”

neutral · production · jcelerier · 2022-10-30 · source ↗ · wrong label?

“We use LLVM/clang and so does Apple.”

neutral · production · gcasa · 2021-12-14 · source ↗ · wrong label?

“With Nix we have proper Clang with libc++/etc for latest C++ features, cross-compiling Clang”

neutral · production · quyse · 2021-04-09 · source ↗ · wrong label?

“We've found numerous bugs in gcc, clang and postgres by building / testing with unreleased compilers.”

neutral · production · anarazel · 2020-06-04 · source ↗ · wrong label?

“the compiler for PS4 is based on Clang which also supports modern c++ very quickly.”

neutral · production · Negitivefrags · 2018-12-29 · source ↗ · wrong label?

“we autobuild gcc, clang, MS”

neutral · production · shubb · 2015-03-31 · source ↗ · wrong label?

“And it doesn't go much faster than just compiling locally with Clang on an 8 core CPUs with SSDs.”

neutral · production · tlb · 2014-10-07 · source ↗ · wrong label?