Inherent code performance advantages of D over C?

Walter Bright newshound2 at digitalmars.com
Thu Dec 12 12:25:47 PST 2013


On 12/12/2013 12:08 PM, H. S. Teoh wrote:
> I've always wondered about that. What is D supposed to do with asm
> blocks when compiling for a CPU that *isn't* x86??

Give an error. asm blocks should be protected with version statements for the 
CPU type. The asm format should be what the CPU manufacturer lists as the format 
in their CPU data sheets.



More information about the Digitalmars-d mailing list