4 ms·
I'm struggling to imagine the audience for this; other than compiler researchers, LLVM's users seem to be primarily those who want to avoid using GNU code (in t
by lmm 14y ago
I'm struggling to imagine the audience for this; other than compiler researchers, LLVM's users seem to be primarily those who want to avoid using GNU code (in the form of gcc, which while not without its flaws is still more featureful and generally produces more performant code) for whatever reason (e.g. Apple), while Hurd's only users are GNU devotees.
- jevinskie 14y agoThe clang static analyzer is the best you can find in the FOSS world and is constantly improving. LLVM itself is multi-target with a single compiler binary (llc), always handy for embedded developers. LLVM can target GPUs, and the resulting binaries wouldn't care if the host OS was Linux or Hurd. Clangs diagnostics are often better than GCC's but the GCC project is catching up fast in that area. Finally, LLVM offers a JIT that projects can use as a library. GCC offers compatibility, large target support, lots of compiler extensions, and great code generation.
- rst 14y agoLLVM is also useful for runtime code generation (e.g., in rubinius, a Ruby implementtion), and as a prepackaged optimizer for other compilers (e.g., GHC, the Glasgow Haskell compiler). Both those packages have users outside the compiler research community...