Multicore C++Standard Template Library with C++0x
暂无分享,去创建一个
Nowadays, one of the most important challenges in the programming is the efficient usage of multicore processors. Many new programming languages and libraries support multicore programming. C++0x, the proposal of the next standard of C++ also supports multithreading at low level.In this paper we argue for some extensions of C++ Standard Template Library based on the features of C++0x. These extensions enhance the standard library to be more powerful in the multicore realm. In this paper we deal with the functors and lambda expressions that are a major extension in the language. We present a technique to write effective pipelines. Speculative functors aim at the effective evaluation of composite functors. Algorithms are overloaded on the associativity of lambda expressions as well.
[1] M. Carter. Computer graphics: Principles and practice , 1997 .
[2] Andrei Alexandrescu,et al. Modern C++ Design , 2001 .
[3] Scott Meyers,et al. Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library , 2001 .
[4] Mads Torgersen. The expression problem revisited: Four new solutions using generics , 2004 .
[5] John Freeman,et al. C++ lambda expressions and closures , 2010, Sci. Comput. Program..