In the February 2012 digital issue of Dr. Dobb's Journal, we focus on parallel programming. Herb Sutter describes how mainstream computers are transforming into heterogeneous supercomputer clusters, then he guides you on how to adjust your programming practices accordingly. We also reach back into our vault for Clay Breshears' simple rules for designing threaded apps. In addition, Cassio Neri discusses std:function implementations and lambda expressions in the new C++ standard.
In This February Digital Issue:
- Welcome to the Jungle
By Herb Sutter
The transitions to multicore processors, GPU computing, and HaaS cloud computing are not separate trends, but aspects of a single trend mainstream computers from desktops to smartphones are being permanently transformed into heterogeneous supercomputer clusters. Henceforth, a single compute-intensive application will need to harness different kinds of cores, in immense numbers, to get its job done. The free lunch is over. Now welcome to the hardware jungle.
- Efficient Use of Lambda Expressions and std::function
By Cassio Neri Functors and std:function implementations vary widely between libraries. C++11's lambdas make them more efficient.
- Editorial: The Need to Rewrite Established Algorithms
By Andrew Binstock
Parallel architectures, like other hardware advances before them, require us to rewrite algorithms and data structures especially the old standbys that have served us well.
- From the Vault: 8 Simple Rules for Designing Threaded Applications
By Clay Breshears
Multithreaded programming is still more art than science. This article gives eight simple rules that you can add to your palette of threading design methods. By following these rules, you will have more success in writing the best and most-efficient threaded implementation of your applications.
Table of Contents
This digital issue is sponsored by: