[dmd-internals] opApply with alias instead of delegate?

Steve Schveighoffer schveiguy at yahoo.com
Mon Jan 10 06:20:49 PST 2011


I'll take this opportunity to bring up a long-standing wish of mine:

http://d.puremagic.com/issues/show_bug.cgi?id=2498

And also, this would be nice to fix as well:

http://d.puremagic.com/issues/show_bug.cgi?id=2443

-Steve



----- Original Message ----
> From: Walter Bright <walter at digitalmars.com>
> To: Discuss the internals of DMD <dmd-internals at puremagic.com>
> Sent: Sun, January 9, 2011 3:23:08 PM
> Subject: Re: [dmd-internals] opApply with alias instead of delegate?
> 
> I wrote that a very long time ago, and don't remember the details.
> 
> David  Simcha wrote:
> > I found this goodie in opover.c of the DMD source, and am  wondering if/when 
>it will be implemented fully.  I think that opApply with  an alias instead of a 
>delegate would be a great thing to have, rather than  having to rely on a 
>"sufficiently smart compiler" to inline delegates for  opApply (LDC does this 
>sometimes, though not very reliably) or not being able to  use opApply in ultra 
>performance-critical situations (status quo with  DMD).  Is there any 
>fundamental reason design reason why this didn't work  out, or is it just yet 
>another low-priority todo?


      


More information about the dmd-internals mailing list