Linked by Thom Holwerda on Fri 20th Jun 2008 19:58 UTC, submitted by Aron Allen
Mac OS X "SproutCore, profiled earlier this week, isn't the only big news spill out from the top secret WWDC conference due to Apple's embrace of open source sharing. Another future technology featured by the Mac maker last week was LLVM, the Low Level Virtual Machine compiler infrastructure project. Like SproutCore, LLVM is neither new nor secret, but both have been hiding from attention due to a thick layer of complexity that has obscured their future potential."
Thread beginning with comment 319403
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Comment by johkra
by Valhalla on Fri 20th Jun 2008 23:23 UTC in reply to "Comment by johkra"
Valhalla
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.

Reply Parent Bookmark Score: 4

RE[2]: Comment by johkra
by kaiwai on Sat 21st Jun 2008 00:06 in reply to "RE: Comment by johkra"
kaiwai Member since:
2005-07-06

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.


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.

Reply Parent Bookmark Score: 5

RE[2]: Comment by johkra
by thavith_osn on Sat 21st Jun 2008 00:26 in reply to "RE: Comment by johkra"
thavith_osn Member since:
2005-07-11

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

Reply Parent Bookmark Score: 1

RE[2]: Comment by johkra
by Chris Lattner on Sat 21st Jun 2008 02:09 in reply to "RE: Comment by johkra"
Chris Lattner Member since:
2005-11-19

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.

Reply Parent Bookmark Score: 8

RE[3]: Comment by johkra
by Valhalla on Sat 21st Jun 2008 04:11 in reply to "RE[2]: Comment by johkra"
Valhalla Member since:
2006-01-24

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.

Reply Parent Bookmark Score: 2

RE[3]: Comment by johkra
by krausest on Sun 22nd Jun 2008 12:39 in reply to "RE[2]: Comment by johkra"
krausest Member since:
2006-01-11

The generated code is usually 5-10% faster than GCC generated code, but obviously YMMV.


Are there any public benchmarks available where LLVM outperforms gcc?

Edited 2008-06-22 12:40 UTC

Reply Parent Bookmark Score: 1