
The
LLVM Project recently released a new version of their compiler, optimizer and code generators. LLVM includes a drop-in GCC-compatible C/C++ and ObjC compiler, mature optimization technology (including cross file/whole program optimization), and a highly optimizing code generator. For people who enjoy hacking on compilers and runtimes, LLVM
provides libraries for implementing custom optimizers and code generators including JIT compiler support.
This release is the first to provide beta GCC 4.2 compatibility as well as the new
"clang" C/ObjC front-end, which provides capabilities to build source-to-source translators and many other tools.
Member since:
2005-07-08
"What is the benefit of LLVM for C/C++ developers?"
It's dead simple. LLVM generates faster code (better optimization) in less time (better optimization architecture).
There are interfaces to JIT and optimization passes, but they aren't interesting unless you are a compiler developer.