I am willing to learn more from concurrency, and I have found this book which has many good reviews. But after taking a look at the preface, I fear that it is very focused on STD functions included only in C++11.
Since C++11 is not very used yet, and not at all at my work place, I need to know if reading this book will be a waste of time when I should be reading a different one.
I'm focusing on Windows development, but I liked the use of standard libraries to be used in UNIX and Windows both. Any recommendation or aclaration about this book?
No, book heavily uses C++11 syntax.
Also things discussed in book arent just C++11 library features, for example C++11 memory model is a brand new thing in C++11(c++98 did not recognize existence of MT).
Still IMHO you should get a super easy to install g++4.9+boost from : nuwen.net or just get VS 2013 Community.
Because C++11 is the standard and I guess soon youll start using it at your workplace (if not to quote Andrei Alexandrescu: "Call your headhunter!"). Btw std::thread
and boost::thread
are quite similar but with notable differences.
You are right it focuses heavily on C++11. It's "practical multithreading", as the subtitle suggests.
The only way it might interest you if you don't use C++11 is if you plan to use boost threads, which is the base of C++11 threads. But you have to know they are not exactly the same, as C++11 made some changes. ( for instance in C++11 you have to decide wether to wait for your thread to finish or leave it run on its own. In boost it runs on its own by default. If you don't choose in C++11, your program will terminate ).
Then, for your general knowledge as a C++ developper interested in its field, it is a recommended read. C++11 books are not legion for now.
The next generation of Visual C++, which is due out in a whole two weeks, includes std::thread
libraries, and G++ does already if I'm not mistaken. I wouldn't count this against it. And here's the thing: C++11 is really quite essential. If your workplace isn't planning to migrate, I'd find another workplace.
Since
you would probably need to use Boost.Thread.
There are some reasons why you would read this book then:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With