Parallel Programming in C++
DOI:
https://doi.org/10.37591/rtpc.v2i3.571Abstract
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.
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.
Downloads
Published
Issue
Section
License
Declaration and Copyright Transfer Form
(to be completed by authors)
I/ We, the undersigned author(s) of the submitted manuscript, hereby declare, that the above manuscript which is submitted for publication in the STM Journals(s), is not published already in part or whole (except in the form of abstract) in any journal or magazine for private or public circulation, and, is not under consideration of publication elsewhere.
- I/We will not withdraw the manuscript after 1 week of submission as I have read the Author Guidelines and will adhere to the guidelines.
- I/We Author(s ) have niether given nor will give this manuscript elsewhere for publishing after submitting in STM Journal(s).
- I/ We have read the original version of the manuscript and am/ are responsible for the thought contents embodied in it. The work dealt in the manuscript is my/ our own, and my/ our individual contribution to this work is significant enough to qualify for authorship.
- I/We also agree to the authorship of the article in the following order:
Author’s name
1. ________________
2. ________________
3. ________________
4. ________________
| We Author(s) tick this box and would request you to consider it as our signature as we agree to the terms of this Copyright Notice, which will apply to this submission if and when it is published by this journal. |