How the LLVM Compiler Infrastructure Works
informit.com/articles/printerfriendly.aspx?p=...Posted Apr 1, 2009, 2:05 PM UTC
Posted Apr 1, 2009, 2:05 PM UTC
Ladies Love Virtual Machines
Ladies Love Vibrators More
Ladies Love Veloceraptors Most
How does LLVM compare to .NET, JVM, and C--?
LLVM is comparable to C--. As for Java and .NET: it is one level deeper. There is already a VM layer for both:
More accurately: there is already a project for a VM layer for both.
It's not at all like .NET or the JVM. LLVM is a compiler code generation and optimization toolkit that happens to include a JIT compiler, it doesn't impose a managed environment or object model on the code it's compiling. I'm not sure about how it compares against C-- though as I've never played with it.
[deleted]
Yeah, you can do whatever you want with it. The nerve of those people!
I thought the licensing discussion did a good job of explaining at least part of the motivation behind clang and LLVM. And you'd have to be a very thin-skinned to be offended by anything that was said of C++.
[deleted]
Part of me can't help but notice how none of the comments in this thread is technical eighter.
[deleted]
What is your problem with the licensing?
[deleted]
Oh, sorry. Read your comment as two separate issues. "Disappointed by the licensing" and "Disappointed by the C++ banter"
[deleted]
How far along is clang's C++ support?
Slowly coming along.
http://clang.llvm.org/cxx_status.html
Having watched other compiler projects start, overcome huge obstacles, yet die or stall before they can get the last hurdles completed, I'm cynical about yet another volunteer-developed C++ compiler.
On the other hand, the people behind llvm and clang have some impressive history writing other C++ compilers, libraries, tools, and the C++ standards themselves. Overall I'm less concerned about whether it will be finished but by when.
It's in the realm of possibility that code gen could be of a high enough quality for the project to be self-hosting in two more years. In the mean time there's plenty of spec left to plow through.
It cannot compile LLVM, for example.