October 09, 2008 Re: Top 5 | ||||
|---|---|---|---|---|
| ||||
Andrei Alexandrescu:
> Last time I looked it was delegate-based, is that still the case?
It is... But I think there's an important missing point here. If future D wants to support functional-style coding, it has to digest delegates/functions efficiently, because they are everywhere in that style of coding. I can't think of D as a functional language if I can't use functions efficiently. So instead of pulling functions/delegates out my code, can D compiler grow better inlining/management of them, etc? :-)
Bye,
bearophile
| ||||
October 09, 2008 Re: Top 5 | ||||
|---|---|---|---|---|
| ||||
Posted in reply to bearophile | bearophile wrote:
> Andrei Alexandrescu:
>> Last time I looked it was delegate-based, is that still the case?
>
> It is... But I think there's an important missing point here. If
> future D wants to support functional-style coding, it has to digest
> delegates/functions efficiently, because they are everywhere in that
> style of coding. I can't think of D as a functional language if I
> can't use functions efficiently. So instead of pulling
> functions/delegates out my code, can D compiler grow better
> inlining/management of them, etc? :-)
I was thinking of delegates vs. aliases.
Andrei
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply