About compiler memory consumption

bearophile bearophileHUGS at lycos.com
Wed Dec 4 08:12:26 PST 2013


Puming:

> My question is, is there a plan for this effort?

There are plans to reduce memory used by CTFE, but template bloat 
is less easy to face.


> What is the  general prediction of an ideal D compiler,
> some hundreds of MBs or less?

Non one knows, I think.


> but a simple binary in vibe.d yields a ~12MB file,
> it's somewhat slow to upload it.

There are programs to compress binaries a lot.


> So I wonder can we refer vibe.d/phobos as a dynamic library?

This is being worked on in the latest D releases.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list