To view parent comment, click here.
To read all comments associated with this story, please click here.
That, and the fact that the gcc-llvm front end is going to be replaced with a new one, it'll be interesting to see what the future will be. Its great to have a compiler which is not only going to give gcc some competition but also provide a compiler which is BSD licenced.
Unfortunately there were no mention of what these 'sources' were.
Agreed, if you are ever watching the news (esp. Fox and the like) and they use the term "sources" or some other vague term of reference, then it's is something they are adding themselves... It is as reliable as going to a tech psychic (see analyst) and asking them.
Sources say Apple will come out with Ice Leopard a year after Snow Leopard, which will add hologram technology, ZFS++, OpenDirectX and HAL9000 technologies...
The reason we take "sources" as fact is that we want to believe it, OK, maybe not the OpenDirectX - lol...
Edited 2008-06-21 00:28 UTC
Chris Lattner wrote:
-"The article was confused. llvm-gcc consistently compiles code 30-40% faster than GCC does when the optimizer is enabled (e.g. at) -O2. The generated code is usually 5-10% faster than GCC generated code, but obviously YMMV."
Thanks for the clarification. Must say that 'usually' 5-10% faster sounds great. Any chance you could point me to your sources regarding this as I'm really interested in code optimization.







Member since:
2006-01-24
Yes, llvm is looking really promising. But seriously, statements like -"Sources report that LLVM-GCC "compiles code that consistently runs 33% faster" than code output from GCC." is obviously not true. No matter how good LLVM is there's no way it will consistently output code that is 33% faster, in reality it won't do that other than in extreme cases. Unfortunately there were no mention of what these 'sources' were.
Unlike the GNU toolchain which strains under the pressure of being the de facto compiler on which nearly the entire open source spectrum depends, llvm is a perfect testbed for new and exciting techniques in code generation. Once it matures it will provide a great alternative to the GNU toolchain and hopefully this will mean we get real competition in the oss compiler arena.