Can we kill the D calling convention already?

Alex Rønne Petersen xtzgzorex at gmail.com
Wed Apr 25 12:01:39 PDT 2012


On 25-04-2012 20:41, CTFE-4-the-win wrote:
> On Wednesday, 25 April 2012 at 17:51:45 UTC, Alex Rønne Petersen wrote:
>>> Introducing a commen calling convention would be one approach. The other
>>> would be to templatize D's inline assembler?
>>
>> All the big compiler back ends are not realistically going to
>> implement some random calling convention because we tell them to.
>
> Hmmm... actually, only the symbols marked with 'export' would matter, we
> could have our own super optimized calling convention internally... no?
>

export doesn't currently do anything anywhere but on Windows, and it 
seems like this situation won't change for some time.

-- 
- Alex


More information about the Digitalmars-d mailing list