On 11/11/15 9:15 AM, Johannes Pfau wrote:
Am Wed, 11 Nov 2015 13:56:50 +0000
schrieb Martin Nowak <[email protected]>:

On Wednesday, 11 November 2015 at 13:47:27 UTC, Johannes Pfau
wrote:
I think we should really fix these issues, working separate
compilation is very important.

No, it's not. Separate compilation is C++-ishly slow by design
(b/c all dependencies get imported over and over again, just like
headers).
We should endorse compiling small (rather independent) packages
to static/shared libraries.


And where do you draw the line? Do we expect ARM users to have 4GB of
RAM to compile phobos? Is 512MB enough? 64 MB? Even huge C++ codebases
such as GCC compile with 128MB memory.

Large codebases are best organized to have more packages, not larger packages.

Phobos takes about 600MB max to build.


Andrei

Reply via email to