Boost logo

Boost :

Subject: Re: [boost] [review][beast] Review of Beast starts today : July 1 - July 10
From: Zach Laine (whatwasthataddress_at_[hidden])
Date: 2017-07-03 17:25:13


On Mon, Jul 3, 2017 at 11:54 AM, Emil Dotchevski via Boost <
boost_at_[hidden]> wrote:

> On Mon, Jul 3, 2017 at 9:40 AM, Vinnie Falco via Boost <
> boost_at_[hidden]> wrote:
>
> > > How much of Beast is useful without ASIO?
> >
> > Realistically speaking if you are trying to use Beast without Asio
> > (modulo buffer.hpp as stated above) you aren't going to get very far
> > at all.
>
> In my opinion, arguing that coupling is necessary should begin with
> defining an interface which Beast can use, which can be trivially
> implemented in terms of Asio. In designing this interface the only concern
> should be avoiding the coupling; specifically, performance considerations
> should be completely ignored. Only then we can have a reasonable discussion
> is it worth it.

This is a very good way to think about this.

> Regardless, in my experience this kind of exercise always
> improves the design of a library.

 This is definitely true.

I think those two points are (mostly?) what Niall was trying to convey.

Zach


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