When compiling multiple source files

Timon Gehr timon.gehr at gmx.ch
Tue Aug 20 06:35:58 PDT 2013


On 08/20/2013 08:50 AM, Jacob Carlborg wrote:
> On 2013-08-20 00:27, ProgrammingGhost wrote:
>
>> Is it possible that if I just try to compile 1 file it could imports
>> enough libraries that import/need the definitions for additional large
>> libraries which in turn also imports everything causing ram issues? I'm
>> sure in practice this will almost never happen. But I don't doubt there
>> are main libraries that use other large libraries and everything
>> imports/uses everything
>
> I guess I should add that we do have some problems with RAM running the
> unit tests in Phobos (the standard library). But this is rather due to
> the heavy use of templates and other compile time features. Not because
> there is too much code/text in the files.
>

I was under the impression that this is a limitation of DMD and will be 
fixed, right?



More information about the Digitalmars-d mailing list