www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Misc questions:- licensing, VC++ IDE compatible, GPGPU, LTCG,

reply bearophile <bearophileHUGS lycos.com> writes:
 if you look at the asm written in video decoders you can see that it's many
 times faster than the asm produced from C by the best compilers.

Right today I have found an interesting blog post that shows an example of what advanced compilers aren't able to do yet: http://virtualdub.org/blog/pivot/entry.php?id=307 If you want to see better code you can take a look at x264: http://git.videolan.org/?p=x264.git;a=tree;f=common/x86 Bye, bearophile
May 17 2010
parent Bernard Helyer <b.helyer gmail.com> writes:
On 18/05/10 05:06, bearophile wrote:
 if you look at the asm written in video decoders you can see that it's many
 times faster than the asm produced from C by the best compilers.

Right today I have found an interesting blog post that shows an example of what advanced compilers aren't able to do yet: http://virtualdub.org/blog/pivot/entry.php?id=307 If you want to see better code you can take a look at x264: http://git.videolan.org/?p=x264.git;a=tree;f=common/x86 Bye, bearophile

Fascinating read. Thanks bearophile!
May 17 2010