Boost logo

Boost Users :

Subject: Re: [Boost-users] [phoenix] V2, V3 and the amount of memory needed by the compiler to just include them
From: Joel de Guzman (joel_at_[hidden])
Date: 2011-02-23 22:17:07


On 2/24/2011 11:00 AM, Eric Niebler wrote:
> On 2/24/2011 8:57 AM, Joel de Guzman wrote:
>> So will TMP scale? Definitely! Will there be a future for Phoenix and
>> other template heavy libraries? Unequivocally YES!
>>
>> At the very least I would say: Phoenix3 is ahead of its time. Thomas
>> Heller did an amazing job!
>
> Ugh, these valid concerns about compile time and space are ... valid.
> Yes, it'll get better over time, Joel's right, but there are things that
> can be done today. Proto and Fusion can be preprocessed like MPL. Proto
> can use variadic templates and rvalue references where available to
> bring down the number of overloads. Things /can/ be better today. If
> only there were more time.

If you go back to the Op's main concern, it is about VS PCH
limits with Phoenix3 at about /Zm160 and VC8's default: /Zm100
which is at about 75MB and "big" Boost libraries are around /Zm50.

Yes, things can be better today, but only to a certain extent.
This is one that I do not think we can fix other than to bump
to /ZM160 and beyond.

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://boost-spirit.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net