Boost logo

Boost :

Subject: Re: [boost] [RPC] Boost.Asio to write *concurrency ready* code
From: microcai (microcaicai_at_[hidden])
Date: 2013-08-28 19:27:27


2013/8/29 Lars Viklund <zao_at_[hidden]>:
> (I took the liberty of normalizing the case of the message I replied to)
> On Thu, Aug 29, 2013 at 03:46:40AM +0800, microcai wrote:
>> No one, not a single one comment on my code. Instead, attack on my words.
>
> Yes, your code demonstrates a conversion of a dependency-less recursive
> algorithm into a sequence of chaining asynchronous operations.
>
> That's nice, and an example of how a generic enough library with a
> well-defined scope can be used to implement problems that can be solved
> by dispatching asynchronous events.

Yeah, it is nice. I don't understand why this pattern is not common.
Is this pattern "only works on paper" kinds of stuff?

I am enjoy this, it only makes the code just a little bit more complex
but you gained so much.

For those how concern about the overhead of handler allocate and invoking:
well, if you can go parallel, a little bit overhead is comfortable.

>
> Communication with your peers in person in your own language is often a
> hard thing. Doing it over the internet with people from different
> cultures, backgrounds and native languages, requires a lot of patience,
> simplified language and great care in not using offensive concepts or
> words.
>
> For example, this mail is very mellow and refined from my initial stream
> of conciousness that first went into it. As a mail is a near-permanent
> record of ones words, it's often wise to choose them well and to not
> make enemies unnecessarily.
>

After a long discussion with zao and kalven on #boost , I apologizes
to Niall for using afoul words.

Thank you all guys that help me.

Niall:
   I didn't say you are not stupid. Just because I disagree with your
library does not mean you are stupid.
   please don't miss-interpret, For what ever I said about Bosot.Afio
did not imply anything on you.
   I apologizes to Niall, because I should have said "Boost.Afio is
not elegant." I should not use the word "stupid".


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