About compiler memory consumption
Puming
zhaopuming at gmail.com
Wed Dec 4 08:33:25 PST 2013
On Wednesday, 4 December 2013 at 16:12:28 UTC, bearophile wrote:
> 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.
Vibe's diet templates would benefit from this I guess.
>
>> What is the general prediction of an ideal D compiler,
>> some hundreds of MBs or less?
>
> Non one knows, I think.
That is a pity.
>
>
>> 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.
>
Thanks for the tip, now I'll just need a little script to do the
compress/rsync/decompress automation.
Did you mean tar/zip or some specialized tool? I found that tar
makes it to ~2.5MB, which is fairly good
>
>> So I wonder can we refer vibe.d/phobos as a dynamic library?
>
> This is being worked on in the latest D releases.
That is great news. Would it be out in 2.065? ore 2.066?
>
> Bye,
> bearophile
Thanks bearophile,
So hopefully the situation might be much better earlier next year
:-)
More information about the Digitalmars-d-learn
mailing list