Inherent code performance advantages of D over C?

dennis luehring dl.soluz at gmx.net
Thu Dec 12 21:27:32 PST 2013


Am 12.12.2013 21:16, schrieb Max Samukha:
> On Thursday, 12 December 2013 at 20:06:37 UTC, Walter Bright
> wrote:
>> On 12/12/2013 11:57 AM, Max Samukha wrote:
>>> On Thursday, 12 December 2013 at 17:56:12 UTC, Walter Bright
>>> wrote:
>>>
>>>> 11. inline assembler being a part of the language rather than
>>>> an extension
>>>> that is in a markedly different format for every compiler
>>>
>>> Ahem. If we admit that x86 is not the only ISA in exsistence,
>>> then what is
>>> (under)specified here http://dlang.org/iasm.html is a
>>> platform-specific extension.
>>
>> I know of at least 3 different C x86 inline assembler syntaxes.
>> This is not convenient, to say the least.
>
> I know that too. I appreciate that you attempted to standardize
> the asm for x86. But the question is what to do about other
> targets? What about ARM, MIL, LLVM IR or whatever low-level
> target a D compiler may compile too? Will those be standardized
> as part of the language?

like freepascal got support for x86 and ARM inline asm (and others) for 
years?



More information about the Digitalmars-d mailing list