Boost logo

Boost :

Subject: Re: [boost] Asking for feedback for book (in German) about the Boost C++ libraries
From: Andreas Pokorny (andreas.pokorny_at_[hidden])
Date: 2008-12-14 08:52:15


Hi

2008/12/14 Boris <boriss_at_[hidden]>:
> I've written a book in German about the Boost C++ libraries and uploaded it
> to http://www.highscore.de/cpp/boost/. As this is the very first version
> it's currently only available in HTML. I would appreciate any feedback about
> the content, presentation, examples, typos :) etc.

I really appreciate the idea!

I directly looked at the asio chapter, because I am interested in that
topic right now. Defining a new service for asio is a very good idea
to for an advanced asio introduction. Maybe you could do some beginner
stuff before doing that.

Furthermore you should really rework the timer service example:
"[...] Während eine synchrone Operation wie wait lediglich auf die
Dienst-Implementation zugreift, um eine blockierende Methode
aufzurufen, erfolgt dies für eine asynchrone Operation wie async_wait
mit Hilfe eines Threads. Der Trick bei asynchronen Operationen ist
also der, dass eine blockierende Funktion einfach in einem Thread
aufgerufen wird."

Instead of advertising worker threads for blocking function calls as
"the trick" for asyncronous operations, you should explain why this is
a rather dirty and expensive fallback - only required if no other
solution can be found. Doing it the right way is not as easy as in the
current example from the book, but far more interesting.

kind regards
Anreas Pokorny


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