LLVM's Clang Successfully Self-Hosts
blog.llvm.org
blog.llvm.org
I'm no longer certain which I consider is the better language to code in overall. I've heard the C++ hate from Yossi Kreinin, Linus Torvalds, Steve Yegge, and other high profile people, and I've experienced the pain and misery of trying to understand and use its more complex features myself, but in the end, for most applications are you really better off sticking with C than using a "tasteful subset of C++" like the LLVM team does?
http://google-styleguide.googlecode.com/svn/trunk/cppguide.x...
Too bad it assumes knowledge of C++. I hope I can still follow it with my limited C++ knowledge.
Language features for abstraction and encapsulation are pretty important for something that huge.
GCC also has a perennial problem attracting and managing developers, which LLVM seems to have avoided.
One example that pops to mind is shader programs on a GPU.
If all you noticed from seriously looking through the source is that it is well indented and well organized, you're probably not an experienced enough C++ programmer to evaluate the merits (no offense intended).
How can you "infer" the design only by looking at a pile of C++?
Treat C++ like Ruby, and try to use it to make beautiful, and elegant code. That's where it shine, IMHO.
(Edit: C++ as well as C)
In which manner does the GCC license restrict the user in a problematic way? (well, except GPL's distribution restrictions I suppose.)
GCC was never designed to do this, and even if it were, it's under the GPL and not the LGPL, which makes it unsuitable for linking as a library in non-GPL'd code. In contrast LLVM/Clang has a BSD-like licence.