When compiling multiple source files

Jacob Carlborg doob at me.com
Mon Aug 19 23:50:12 PDT 2013


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.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list