Boost logo

Boost :

Subject: Re: [boost] [Beast] Questions Before Review
From: Robert Ramey (ramey_at_[hidden])
Date: 2017-06-25 22:02:46


On 6/25/17 2:02 PM, Artyom Beilis via Boost wrote:
> Hello Vinnie Falco,
>
> I have several design questions regarding this library before the review.
>
> Header Only Design
> ---------------------------
>
> As somebody who worked with guys who do web development, it was very
> clear that compilation time is an issue.
>
> A simple build of http_server_small.cpp example requires about 6s(!)
> of compilation time g++ 5.4
> http_server_fast.cpp takes 7s
>
> In comparison entire message board containing templates code flow SQL and more
> leads to only 4s - non paralel build.
> (https://github.com/artyom-beilis/cppcms/tree/master/examples/message_board
> )

I'm certainly missing something here. Why is compile time of 4-7
seconds any kind of issue? When would a web developer compile the
library. Please expand on this as I'm not getting it all.

Robert Ramey


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk