<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:osnews="http://osnews.com/rss2#">
	<channel>
		<title>OSNews: </title>
		<link>http://www.osnews.com/story/15530/LLVM_at_Apple_the_OpenGL_Stack</link>
		<description>Exploring the Future of Computing</description>
		<language>en-us</language>
		<copyright>Copyright 2001-2009, David Adams</copyright>
		<webMaster>adam+nospam@osnews.com</webMaster>
		<lastBuildDate>Tue, 10 Nov 2009 04:46:41 GMT</lastBuildDate>
		<image>
			<url>http://www.osnews.com/images/osnews.gif</url>
			<title>OSNews.com</title>
			<link>http://www.osnews.com</link>
		</image>
		<item>
			<title>LLVM 1.8 Release</title>
			<link>http://osnews.com/thread?153485</link>
			<guid isPermaLink="true">http://osnews.com/thread?153485</guid>
			<description>In other news, we just had a new release, get it here:<br />
<br />
<a href="http://llvm.org/releases/" rel="nofollow">http://llvm.org/releases/</a><br />
<br />
<a href="http://lists.cs.uiuc.edu/pipermail/llvm-announce/2006-August/000019.html" rel="nofollow">http://lists.cs.uiuc.edu/pipermail/llvm-announce/2006-August/000019...</a> <br />
<a href="http://llvm.org/releases/1.8/docs/ReleaseNotes.html" rel="nofollow">http://llvm.org/releases/1.8/docs/ReleaseNotes.html</a> <br />
<br />
-Chris</description>
			<pubDate>Fri, 18 Aug 2006 06:14:00 GMT</pubDate>
			<author>donotreply@osnews.com (Chris Lattner)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Hmm</title>
			<link>http://osnews.com/thread?153488</link>
			<guid isPermaLink="true">http://osnews.com/thread?153488</guid>
			<description>This is probably good only for intel integrated graphics (and software renderer). I think, other cards from ATI and NVIDIA have TCL or vertex shaders and will not use this.</description>
			<pubDate>Fri, 18 Aug 2006 06:22:00 GMT</pubDate>
			<author>donotreply@osnews.com (pzad)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Objective-C 2?</title>
			<link>http://osnews.com/thread?153491</link>
			<guid isPermaLink="true">http://osnews.com/thread?153491</guid>
			<description>When will Mac OSX itself be compiled with LLVM? It sure sounds like a better solution than fat binaries and GCC or ICC. The thing LLVM needs before being useful on OSX though, is support for Objective-C.<br />
<br />
Is there any systems out there using LLVM instead of GCC? Like some odd Linux distribution or something?</description>
			<pubDate>Fri, 18 Aug 2006 06:27:00 GMT</pubDate>
			<author>donotreply@osnews.com (John.Gustafsson)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Hmm</title>
			<link>http://osnews.com/thread?153494</link>
			<guid isPermaLink="true">http://osnews.com/thread?153494</guid>
			<description>Both the Mac Mini and MacBook use iNTELS own GFX chips, and they will do that for quite some time I'm guessing. iNTEL will keep on releaseing integated graphics which will be perfect (cost wise) to put in the low-end macs and &quot;fixing&quot; the software so the graphics runs faster on these machines will be a god send for Apple.<br />
<br />
Besides, maybe this is just the first step when it comes to LLVM, maybe it will improve other things down the line. Heck, it could improve even more things with Leopard that we don't know of.</description>
			<pubDate>Fri, 18 Aug 2006 06:30:00 GMT</pubDate>
			<author>donotreply@osnews.com (John.Gustafsson)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Objective-C 2?</title>
			<link>http://osnews.com/thread?153502</link>
			<guid isPermaLink="true">http://osnews.com/thread?153502</guid>
			<description>LLVM 1.8 already supports Objective C.  It does not currently include the ObjC 2.0 features though.</description>
			<pubDate>Fri, 18 Aug 2006 06:53:00 GMT</pubDate>
			<author>donotreply@osnews.com (Chris Lattner)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Compiling...</title>
			<link>http://osnews.com/thread?153525</link>
			<guid isPermaLink="true">http://osnews.com/thread?153525</guid>
			<description>Just wondering about LLVM and compiling an operating system like FreeBSD using it; does it work? does it yield 'nicer' code that performs better? OpenSolaris is gradually being ported so that the GNU GCC can compile it, has anyone tried compiling it with LLVM/GCC$?</description>
			<pubDate>Fri, 18 Aug 2006 08:57:00 GMT</pubDate>
			<author>donotreply@osnews.com (kaiwai)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Apple will submit x86-64 too</title>
			<link>http://osnews.com/thread?153538</link>
			<guid isPermaLink="true">http://osnews.com/thread?153538</guid>
			<description>Being curious after the announcement I looked at their mailing list and saw that Apple will also submit the x86-64 target to LLVM.<br />
<br />
Interesting..<br />
<br />
That said I agree with pzad: the usage of LLVM by Apple for OpenGL seems mostly useful for laptops with lowend graphic boards.<br />
It would be interesting to see performance figures..</description>
			<pubDate>Fri, 18 Aug 2006 09:37:00 GMT</pubDate>
			<author>donotreply@osnews.com (renox)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Apple will submit x86-64 too</title>
			<link>http://osnews.com/thread?153546</link>
			<guid isPermaLink="true">http://osnews.com/thread?153546</guid>
			<description>That said I agree with pzad: the usage of LLVM by Apple for OpenGL seems mostly useful for laptops with lowend graphic boards. It would be interesting to see performance figures.<br />
<br />
Actually, the announcement email that was linked indicates that this will be used sometimes even with high-end graphics cards when advanced capabilities are used:<br />
<br />
LLVM is currently used when hardware support is disabled or when the current hardware does not support a feature requested by the user app. This happens most often on low-end graphics chips (e.g. integrated graphics), but can happen even with the high-end graphics when advanced capabilities are used.</description>
			<pubDate>Fri, 18 Aug 2006 10:13:00 GMT</pubDate>
			<author>donotreply@osnews.com (binarycrusader)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Objective-C 2?</title>
			<link>http://osnews.com/thread?153552</link>
			<guid isPermaLink="true">http://osnews.com/thread?153552</guid>
			<description>&gt; It sure sounds like [LLVM is] a better solution than fat binaries and GCC or ICC.<br />
<br />
LLVM a better solution?<br />
More eleguant ok, but what is best is whichever has the best runtime performance, which means in that order ICC &gt; GCC &gt; LLVM and which suits your need, no ObjectiveC on ICC so GCC &gt; LLVM.<br />
<br />
Now apparently Apple is set on LLVM so they will probably work on improving its performance: it's not because OpenGL on LLVM is faster than regular OpenGL (they handmade many parts) that generic code is faster on LLVM than GCC (currently I think it is quite the opposite.).</description>
			<pubDate>Fri, 18 Aug 2006 10:31:00 GMT</pubDate>
			<author>donotreply@osnews.com (renox)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: Objective-C 2?</title>
			<link>http://osnews.com/thread?153590</link>
			<guid isPermaLink="true">http://osnews.com/thread?153590</guid>
			<description>You, sir, have that completely out of order.<br />
<br />
LLVM is an aggressively-optimizing compiler that rivals GCC for speed in almost everything, and crushes it in situations where its most advanced features (LTO and inter-procedural optimization) come into play.  There's a reason that GCC was considering incorporating LLVM's optimization framework rather than continuing to extend their own. ;-)<br />
<br />
For comparison, look at the detailed build results on <a href="http://llvm.org/nightlytest/" rel="nofollow">http://llvm.org/nightlytest/</a> , particularly at the GCC/LLVM column.  That's the ratio of execution time of the test compiled w/ GCC vs. compiled w/ LLVM.   Notice how the majority are .9 or greater, and a significant number are &gt;1?</description>
			<pubDate>Fri, 18 Aug 2006 13:30:00 GMT</pubDate>
			<author>donotreply@osnews.com (resistor)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[3]: Objective-C 2?</title>
			<link>http://osnews.com/thread?153603</link>
			<guid isPermaLink="true">http://osnews.com/thread?153603</guid>
			<description>Thanks for the information, I'm glad to be incorrect.<br />
<br />
Could you give me the proper URL for the benchmarks?<br />
I couldn't find the graph you're talking about on the URL you provided, I tried to click around but frankly this website is a mess.<br />
<br />
On the comment page of the annonce <a href="http://arstechnica.com/staff/fatbits.ars/2006/8/17/5024" rel="nofollow">http://arstechnica.com/staff/fatbits.ars/2006/8/17/5024</a>   percivall says that a python compiled with LLVM is twice as slow as a python compiled with GCC, so either he made a mistake or there are still some problem for LLVM..</description>
			<pubDate>Fri, 18 Aug 2006 14:11:00 GMT</pubDate>
			<author>donotreply@osnews.com (renox)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: Objective-C 2?</title>
			<link>http://osnews.com/thread?153652</link>
			<guid isPermaLink="true">http://osnews.com/thread?153652</guid>
			<description>That's great news. It wasn't too terribly obvious from looking at the webpage on the other hand, so I hope you forgive me:)<br />
<br />
Is ObjC experimental or a full blown version that I could compile with from XCode and expect to work just as well as gcc?</description>
			<pubDate>Fri, 18 Aug 2006 15:46:00 GMT</pubDate>
			<author>donotreply@osnews.com (John.Gustafsson)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>LLVM Performance</title>
			<link>http://osnews.com/thread?153674</link>
			<guid isPermaLink="true">http://osnews.com/thread?153674</guid>
			<description>&gt; On the comment page of the annonce <a href="http://arstechnica.com/staff/" rel="nofollow">http://arstechnica.com/staff/</a><br />
&gt; fatbits.ars/2006/8/17/5024 percivall says that a python compiled<br />
&gt; with LLVM is twice as slow as a python compiled with GCC, so either<br />
&gt; he made a mistake or there are still some problem for LLVM..<br />
<br />
It's hard to know what's going on without more details.  LLVM currently has two GCC-based front-ends (one based on 3.4, one based on 4).  The later one doesn't have optimizations hooked up by default, which means that, by default, you get almost completely unoptimized code.  <br />
<br />
In practice this means that users who download it and try it out without reading the documentation often get really slow code and leave with a bad impression.  Those who know what they are doing have no problem getting good performance out of the compiler.<br />
<br />
This is obviously a suboptimal situation, and has resulted primarily because we have been focusing on other short-term priorities.  I expect that LLVM 1.9 will have good performance &quot;out of the box&quot;, along with other new features (e.g. x86-64 support).<br />
<br />
-Chris</description>
			<pubDate>Fri, 18 Aug 2006 16:57:00 GMT</pubDate>
			<author>donotreply@osnews.com (Chris Lattner)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: LLVM Performance</title>
			<link>http://osnews.com/thread?153676</link>
			<guid isPermaLink="true">http://osnews.com/thread?153676</guid>
			<description>Chris, <br />
I don't know if you know what exactly Apple is doing with OpenGL &amp; LLVM, but from what I have read, it sounds like, besides optimizing the GL branch code run-time (which sounds really directly applicable to alot of general OS code), they are also optimizing the shader programs themselves that are sent to the GPU... ???<br />
<br />
are you familiar with any other projects (KDE, ...?) that are looking into linking with LLVM compiler?<br />
the claimed results from Apple re: OpenGL really seem to speak loudly about what LLVM can do...</description>
			<pubDate>Fri, 18 Aug 2006 17:10:00 GMT</pubDate>
			<author>donotreply@osnews.com (mutantsushi)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: LLVM Performance</title>
			<link>http://osnews.com/thread?153679</link>
			<guid isPermaLink="true">http://osnews.com/thread?153679</guid>
			<description>I'm sorry, but I have no intention of saying anything about Apple's plans for LLVM other than what has already been publically announced. <img src="/images/emo/sad.gif" alt=";)" />   If you have questions about the LLVM though, I'd be happy to answer them.<br />
<br />
I don't know of any other large projects (e.g. KDE) that are using LLVM.  I do know it is used by several commercial companies for a small variety of different projects though.<br />
<br />
-Chris</description>
			<pubDate>Fri, 18 Aug 2006 17:26:00 GMT</pubDate>
			<author>donotreply@osnews.com (Chris Lattner)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: LLVM Performance</title>
			<link>http://osnews.com/thread?153751</link>
			<guid isPermaLink="true">http://osnews.com/thread?153751</guid>
			<description>No, they compile shaders to be executed on the CPU, when the GPU dosen't support thouse shaders.</description>
			<pubDate>Fri, 18 Aug 2006 21:05:00 GMT</pubDate>
			<author>donotreply@osnews.com (panzi)</author>
			<category>Comments</category>
		</item>
	</channel>
</rss>
