Tuesday, March 26, 2013

Concurrency in C++11

A quick post to express my surprise about the new (standard) concurrency library part of the new C++11 standard.

Coming from a strong Java background I felt at home as soon as I started reading about it:
 * Futures?
 * Condition variables?
 * Promises?

It really looks and feels like the high level concurrency facilities provided by Java, but without all the boilerplate that is ALWAYS necessary when dealing with Java:

I have found a nice introduction to the library here:

http://www.justsoftwaresolutions.co.uk/threading/multithreading-in-c++0x-part-1-starting-threads.html

No for novices though. You'll need a solid understanding of concurrency concepts to enjoy the reading.

Enjoy!!!