Linked by Thom Holwerda on Thu 7th Oct 2010 19:10 UTC, submitted by tyrione
General Development LLVM 2.8 has been released. The release notes describe this new, ehm, release in greater detail, so head on over and give it a read.
Thread beginning with comment 444584
To view parent comment, click here.
To read all comments associated with this story, please click here.
by Neolander on Sat 9th Oct 2010 10:58 UTC in reply to "RE: GCC > LLVM"
Member since:

According to what criterium? llvm, clang, etc. make it a whole lot easier to add IDE plugins, write debuggers, static analysers, etc.

Every compiler has it's strengths and weaknesses. E.g., compile a very large array of structs. gcc will become a monstrosity, taking enormous amounts of memory, while VC++ effortlessly compiles it in a VM with only 512MB RAM.

It's not exactly clear-cut. But the fact is that gcc until recently didn't have a decent system for plugins to avoid proprietary plugins, and LLVM has forced them to offer such functionality to compete.

Indeed. LLVM is something nice, be it only because it pushes innovation forward in areas which GCC traditionally doesn't explore (internal structure, error messages, plug-ins...).

However, I'm not sure the memory and resource consumption of LLVM is a good argument. Currently, LLVM optimizes code much less than GCC implementations (at least on the tests provided here). Chances are that to optimize code as much as gcc -O3 (or maybe the new -Ofast, not sure what it actually does), LLVM could require much more memory than it currently does.

Edited 2010-10-09 11:17 UTC

Reply Parent Score: 2