calling convention optimisation & const/immutable ref

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Mon Nov 7 15:19:18 PST 2016


On Monday, 7 November 2016 at 22:46:57 UTC, Stefan Koch wrote:
> On Monday, 7 November 2016 at 21:45:42 UTC, John Colvin wrote:
>> On Monday, 7 November 2016 at 20:23:37 UTC, Jacob Carlborg 
>> wrote:
>>> Since D is a systems programming language, wouldn't the user 
>>> want to have control over this?
>>
>> It's just another optimisation in a long list of optimisations 
>> that can be performed without changing semantics. What about 
>> this one is less "systems language" worthy than - for example 
>> - constant folding or dead code elimination?
>
> What about ABI compatibility ?

Yeah, I guess it's not a traditional optimisation. I'm suggesting 
a change to the D ABI to let it use some of the extra information 
that D has in function signatures.


More information about the Digitalmars-d mailing list