Please create an account to participate in the Slashdot moderation system


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


+ - LLVM/Clang 2.7 released!

Submitted by l_i_g_h_s_p_e_e_d
l_i_g_h_s_p_e_e_d (1773878) 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++!"

LLVM also has a new official blog

LLVM has several subprojects that work with this new release:
Clang (a C/C++/ObjC/ObjC++ compiler)
Clang Static Analyzer
VMKit (JVM and CLI Virtual Machine)
Compiler-rt runtime library
Dragonegg (a gcc-4.5 plugin that uses LLVM as a backend)">Machine Code Toolkit

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).
GHC (an open source Haskell compiler)"

Project Aims For 5x Increase In Python Performance 234

Posted by ScuttleMonkey
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."

+ - Kaleidoscope: Implementing a Language with LLVM->

Submitted by
sabre writes "The LLVM Compiler System is being used for all sorts of interesting things 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.

The Kaleidoscope tutorial starts out from scratch and slowly builds up a simple language to show how LLVM can help out with this. We end up with a JIT compiler for a fairly interesting little language with less than 700 lines of code. Of course, this is just the tip of the iceberg, once you start with LLVM, there are all sorts of things you can do."

Link to Original Source

Nothing in progression can rest on its original plan. We may as well think of rocking a grown man in the cradle of an infant. -- Edmund Burke