5 ms·
It's ok to like OpenMP. What I disagree with is that it should be suggested to beginners as the way to parallelize their C++ programs. That's like telling a J
by maxwell86 4y ago
It's ok to like OpenMP.
What I disagree with is that it should be suggested to beginners as the way to parallelize their C++ programs.
That's like telling a Javascript programmer that they should parallelize their programs by using Python or C.
Show them how to do it in Javascript, or in this case, in C++, so that they don't have to learn a whole new programming model or language to just write parallel code.
Particularly when C++ has supported this for so long now.
- dragontamer 4y agoOpenMP is a set of #pragma that just sit in your C++ code directly. > What I disagree with is that it should be suggested to beginners as the way to parallelize their C++ programs. I guess we can agree to disagree then. If beginners think your way is easier, they're welcome to try. But there's plenty of production code examples that show the simplicity of OpenMP.