l_i_g_h_s_p_e_e_d writes: The LLVM Compiler Infrastructure version 2.7 was just released. It includes a new open source BSD licensed C/C++ compiler, clang. Previously clang was only able to compile C code: "This includes significantly better generated code, improvements to debug information generation and a broad number of new features in the core infrastructure. One exciting feature is that Clang is now able to bootstrap itself, a major milestone in any compiler's development and particularly notable considering the complexity of implementing C++!"
And there are several other OSS projects using it: Pure (an algebraic/functional programming language based on term rewriting) Roadsend PHP (an open source implementation of the PHP programming language that uses LLVM for its optimizer, JIT and static compiler) Unladen Swallow (a branch of Python that uses LLVM's optimizers and JIT compiler). http:/// TCE (a toolset for designing application-specific processors). SAFECode (a memory safe C compiler built using LLVM). Icedtea/Shark (OpenJDK build that uses an LLVM based JIT compiler) LLVM-Lua (uses LLVM to add JIT and static compiling support to the Lua VM). MacRuby GHC (an open source Haskell compiler)
from the do-stupid-things-faster-and-with-more-energy dept.
cocoanaut writes "A new project launched by Google's Python engineers could make the popular programming language five times faster. The project, which is called Unladen Swallow, seeks to replace the Python interpreter's virtual machine with a new just-in-time (JIT) compilation engine that is built on LLVM. The first milestone release, which was announced at PyCon, already offers a 15-25% performance increase over the standard CPython implementation. The source code is available from the Google Code web site."
sabre writes: "The LLVM Compiler System is being used for allsortsofinterestingthings these days. It basically provides an extremely modular and easy to use set of open source (BSD-licensed) compiler libraries that can be used to build various applications from. Despite this, many people don't really understand it, and are scared away by the breadth of the project or by compilers in general.