Inherent code performance advantages of D over C?

Daniel Murphy yebblies at nospamgmail.com
Thu Dec 12 21:39:49 PST 2013


"Manu" <turkeyman at gmail.com> wrote in message 
news:mailman.513.1386905921.3242.digitalmars-d at puremagic.com...
>
> Which appears basically everywhere an asm block does. 'asm' could
> optionally receive an architecture as argument, and lower to the version
> wrapper:
>
> asm(x86)
> {
>  ...
> }
> else asm(ARM)
> {
>  ...
> }
>
> (The 'else's in those examples seem unnecessary)
>

meh

version(x86) asm
{
}
else version(ARM) asm
{
}
else
... 




More information about the Digitalmars-d mailing list