One document about Go
bearophile
bearophileHUGS at lycos.com
Tue Jun 1 15:02:18 PDT 2010
Walter Bright:
> bearophile wrote:
> > I meant that D seems designed to not assume that the back-end is able to
> > inline delegates, and indeed at the moment usually not even LLVM is able to
> > do it (while Scala compiler is able to often perform this optimization, and
> > gives the JavaVM code already optimized in this regard).
>
> D does inlining entirely in the front end.
I think LDC has totally disabled the inlining of the front-end and uses just the LLVM inliner, because despite it unfortunately has less semantics to work with, it gives better results anyway.
Bye,
bearophile
More information about the Digitalmars-d
mailing list