Open Access Open Access  Restricted Access Subscription or Fee Access

Parallel Programming in C++

Spardha Gupta

Abstract


One of the most common question about C++ is “why doesn’t C++ support concurrency?” Sometimes, that is even phrased “Why don’t you consider concurrency important enough to be supported in C++?” Those are not the right questions. Better questions are: “how do we support concurrency in C++?” This paper gives many answers to these questions using parallel programming in OOP C++. The aim of parallel computing is to increase an application’s performance by executing the application on multiple processors. C++ supports multiplatform shared memory programming model and shared memory programs are typically executed by multiple threads. The use of multithreading can enhance the performance of application but its excessive use can degrade the most of performance. This paper also describes in detail about the backend working in parallel programming its merits and demerits.

Keywords: Parallel programming, C++, modelling, multithreading

Cite this Artilce
Spardha Gupta. Parallel Programming in C++. Recent Trends in Parallel Computing. 2015; 2(3): 20–23p.


Full Text:

PDF

References


Agha G, Concurrent Object-Oriented Programming, Commun ACM, (Sep.), 1990; 33(9): 125–141p.

Agha A, Wegner P, Yonezawa A, Research Directions in Concurrent Object-Oriented Programming, The MIT Press, Cambridge, MA, USA, 1993.

Almasi G, Gotlieb A, Highly Parallel Computing, The Benjamin/Cummings Publishing Co., United States, 1994.

Analysis in Parallel Computing using C++ amp, The NIT Press, 2007.

Bjarne Stroustrup, The C++ Programming Language. Third edition, Addison-Wesley Publishing, 1997.

Brian W. Kernighan, Dennis M. Ritchie, the C++ Programming Language. First edition, 1988.

David Kirk, Programming Massively Parallel Processor: The Programming Environments. Illinos, 1997.


Refbacks

  • There are currently no refbacks.


This site has been shifted to https://stmcomputers.stmjournals.com/