Forgot your password?

typodupeerror
Announcements

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 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)
http://blog.llvm.org/2010/04/intro-to-llvm-mc-project.html">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).
MacRuby
GHC (an open source Haskell compiler)"
Programming

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."
The Media

Is Apple becoming shy of the spotlight?

Submitted by
guruevi
guruevi writes "We've all come to know the big releases of Apple through Steve Jobs' typical keynote in black turtleneck and jeans. Lately however, more and more products have come to the daylight without the big announcements, without the keynote, without Steve? Recent releases include the new XServe and the replacement of the XServe RAID with Promise gear, the 2GB iPod Shuffle, Pink iPods, Aperture 2 and today the new Macbook models featuring faster processors, multi-touch touchpads and NVIDIA chipsets. Is Steve on his way out? Is this a change in future direction for Apple? Or is Apple working on something so much better for their next keynote?"
Programming

Kaleidoscope: Implementing a Language with LLVM->

Submitted by
sabre
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

Comment: Re:LLVM / clang (Score 2, Interesting) 546

by sabre (#20638117) Attached to: GCC Compiler Finally Supplanted by PCC?
clang is fairly early on, but so is PCC. PCC supports almost no GCC extensions (e.g. inline asm, attributes, etc), doesn't support C99 fully, and has many other problems. The clang parser is basically done for C and clang has support for several other source analysis tools other than "just code generation". See the slides linked of http://clang.llvm.org/ for details. I'd expect clang to be fully ready for C use in the next year.

llvm-gcc is quite mature (it has built huge amounts of code, including apps like Qt and Mozilla), supports C/C++/ObjC and bits of FORTRAN/Ada if that is your thing. Using llvm-gcc you get the advantages of the LLVM optimizer and code generator with the GCC front-end.

-Chris
Programming

GCC Compiler Finally Supplanted by PCC? 546

Posted by ScuttleMonkey
from the all-good-things-must-end dept.
Sunnz writes "The leaner, lighter, faster, and most importantly, BSD Licensed, Compiler PCC has been imported into OpenBSD's CVS and NetBSD's pkgsrc. The compiler is based on the original Portable C Compiler by S. C. Johnson, written in the late 70's. Even though much of the compiler has been rewritten, some of the basics still remain. It is currently not bug-free, but it compiles on x86 platform, and work is being done on it to take on GCC's job."

GCC 4.2.1 Released 449

Posted by Zonk
from the licensing-with-drama dept.
larry bagina writes "GCC 4.2.1 was released 4 days ago. Although this minor update would otherwise be insignificant, it will be the final GPL v2 release; all future releases will be GPL v3. Some key contributors are grumbling over this change and have privately discussed a fork to stay as GPL v2. The last time GCC forked (EGCS), the FSF conceded defeat. How will the FSF/GNU handle the GPL 3 revolt?"

Wikipedia Used To Spread Virus 116

Posted by Zonk
from the ware-the-internets dept.
eldavojohn writes "The German Wikipedia has recently been used to launch a virus attack. Hackers posted a link to an all alleged fix for a new version of the blaster worm. Instead, it was a link to download malicious software. They then sent e-mails advising people to update their computers and directed them to the Wikipedia article. Since Wikipedia has been gaining more trust & credibility, I can see how this would work in some cases. The page has, of course, been fixed but this is nevertheless a valuable lesson for Wikipedia users."

Advice is a dangerous gift; be cautious about giving and receiving it.

Working...