Thinking Asynchronously in C++

Wednesday, March 31, 2010

A potted guide to stackless coroutines

›
Keen-eyed Asio users may have noticed that Boost 1.42 includes a new example, HTTP Server 4 , that shows how to use stackless coroutines in ...
324 comments:
Wednesday, August 12, 2009

Composed operations, coroutines and code makeover

›
In the previous two posts , I showed some nifty macros for doing clean and simple stackless coroutines with asio. Hold on to your hats, bec...
83 comments:
Monday, August 10, 2009

Secret sauce revealed

›
In my previous post , I showed a little program using stackless coroutines with asio. Obviously there's no yield keyword in C++, so wit...
70 comments:
Wednesday, July 29, 2009

Wife says: "I can't believe it works"

›
Just a teaser: int main() { try { using asio::ip::tcp; using namespace boost::lambda; asio::io_service io_service; tcp::...
38 comments:
Tuesday, July 14, 2009

User-friendly compile errors for templates in C++0x

›
The C++0x features decltype , static_assert and the "new function declarator syntax" can be combined with our old friend SFINAE ...
36 comments:
Monday, October 06, 2008

Asynchronous Fork/Join using Asio

›
As most Asio users will no doubt be aware, multiple threads can call io_service::run() to set up a pool of threads from which the completio...
83 comments:
Friday, June 27, 2008

Mention in Stroustrup Interview

›
The A-Z of Programming Languages: C++ , top of page 5: Do you feel that resources like the boost libraries will provide this functionality/a...
18 comments:
Friday, May 23, 2008

Boost.Asio vs Asio

›
Sometimes I am asked what the difference is between the (non-Boost) Asio and Boost.Asio packages I provide. Here is the definitive word on t...
26 comments:
Sunday, March 30, 2008

739 days ago ...

›
... asio was accepted into Boost . Today you can find it as part of a Boost release . Woohoo!
15 comments:
Wednesday, August 08, 2007

Time Travel

›
Many event-driven programs involve state changes that are triggered according to the system clock. You might be coding for: A share market ...
25 comments:
Thursday, April 26, 2007

New home heating solution

›
For quite some time I have wanted to take a really good look at improving Boost.Asio's scalability across multiple processors. Unfortuna...
21 comments:
Monday, January 15, 2007

Unbuffered socket iostreams

›
Boost.Asio includes an iostreams-based interface to TCP sockets, ip::tcp::iostream , for simple use cases. However, like the file iostreams ...
28 comments:
Friday, November 10, 2006

Buffer debugging

›
Some standard library implementations, such as the one that ships with MSVC 8.0, provide a nifty feature called iterator debugging. What thi...
31 comments:
Saturday, October 07, 2006

FreeBSD support

›
Asio has now been tested successfully on FreeBSD 6.0, and should support FreeBSD 5.5 and later. FreeBSD 5.4 and earlier are not supported si...
27 comments:
Tuesday, September 26, 2006

SSL password callbacks

›
On the weekend I made some changes to asio to support password callbacks for SSL. There is a new function on the asio::ssl::context class c...
37 comments:

What's this all about?

›
Greetings, reader. I have a blog. Now what? Well, the plan is to post ideas, tips and tricks, design thoughts, and anything else related to ...
31 comments:
‹
Home
View web version

About Me

chris
Author of the Boost.Asio library for networking in C++.
View my complete profile
Powered by Blogger.