Why libphobos2.a?

Walter Bright newshound1 at digitalmars.com
Wed Jun 2 10:59:46 PDT 2010


Graham Fawcett wrote:
> Newbie question: if the D compiler (a) is very fast and (b) can
> optimize application code when it has access to all library sources,
> then isn't libphobos2.a a premature optimization? Why have it at all,
> when the Phobos sources are available?

The global optimization at the moment is limited to inlining. Most functions are 
not inlinable.


More information about the Digitalmars-d mailing list