Subject: Re: [boost] Extremely large Visual Studio libboost_log_setup* binaries
From: Eric Niebler (eniebler_at_[hidden])
Date: 2013-07-03 12:55:21
On 7/3/2013 9:43 AM, Antony Polukhin wrote:
> 2013/7/3 Andrey Semashev <andrey.semashev_at_[hidden]>
>>>> On Tue, Jul 2, 2013 at 4:47 PM, Tom Kent <lists_at_[hidden]> wrote:
>>>>> example the msvc-8.0-64 build went from 2GB to 5GB. Upon further
> Linux kernel binaries weight 2mb, Firefox binaries weight ~100mb. Libraries
> of Boost.Log weight ~3GB.
>> I did not compare library sizes purposefully, but it is very possible to be
>> the case. If you build the complete version of the library, the resulting
>> binaries are expected to be large. Someone else asked me a similar question
>> on the SF, and the answer is, well, because there is lots of code in there.
>> The setup library is especially big because it contains rather complicated
>> Boost.Spirit parsers for filters and formatters and it instantiates parsed
>> filters and formatters for all fundamental types. Multiply that by the
>> number of character types the library supports.
> Those are lame excuses.
I understand your frustration, but please be respectful.
> Remove duplicated code (a big part of Boost.Log is
> a reinvented Boost.Thread). Do not generate so many parsers (type erasure?).
> Created a ticket #8773 (https://svn.boost.org/trac/boost/ticket/8773)
If Boost.Log is truly that large, I agree with the OP that it's a
problem. An effort should be made to bring the size down to something
-- Eric Niebler Boost.org http://www.boost.org
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk