On 5/13/2011 5:45 AM, Bart Janssens wrote:
> Hi guys,
> 
> I've followed the recent discussion about compilation performance,
> it's good to know things are getting better and hopefully support for
> the new standard will help even more.

Probably, but someone needs to adapt Proto to use variadics/rvalue refs.
Patches welcome. :-)

> Currently, my main problem is not so much the compile time itself, but
> how much RAM gets used in debug mode (GCC 4.5.2 on ubuntu 11.04). I'm
> still using proto from boost 1.45, would the recent changes help
> anything in reducing RAM usage in debug mode? 

I don't think so, but I haven't tested.

> Is anyone aware of
> tweaks for GCC that reduce memory usage, but still produce useful
> debug info (just using -g now, no optimization)?

I'll leave this for the gcc experts.

> I've gotten to the point where a compile can use upwards of 1.5GB for
> a single test, resulting in much swapping, especially when compiling
> with make -j2 (which I try to remember not to do, now ;).

Ouch. Do you have to use gcc? Perhaps clang might give you better results.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com
_______________________________________________
proto mailing list
proto@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/proto

Reply via email to