Why libphobos2.a?
Ellery Newcomer
ellery-newcomer at utulsa.edu
Wed Jun 2 11:19:51 PDT 2010
On 06/02/2010 12:59 PM, Walter Bright wrote:
> 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.
Don't you need the phobos source regardless of whether you have a lib file?
More information about the Digitalmars-d
mailing list