Inherent code performance advantages of D over C?

Max Samukha maxsamukha at gmail.com
Thu Dec 12 12:16:15 PST 2013


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?


More information about the Digitalmars-d mailing list