Yes thanks; I completely forgot about OpenMP.


On 8/19/22 02:04, Björn Andersson wrote:
Perhaps also look at OpenMP: https://www.openmp.org/specifications/

/Björn


Den fre 19 aug. 2022 kl 00:43 skrev Phil Bouchard via Std-Proposals <std-proposals@lists.isocpp.org>:

That's true, sorry for my ignorance. Cuda and OpenCL is also into prospect:

https://en.cppreference.com/w/cpp/algorithm/execution_policy_tag


On 8/18/22 18:29, Drew Gross wrote:
This was standardized in C++17, see the 2nd overload of std::for_each: https://en.cppreference.com/w/cpp/algorithm/for_each

On Thu, Aug 18, 2022 at 3:06 PM Phil Bouchard via Std-Proposals <std-proposals@lists.isocpp.org> wrote:

Greetings,

I wrote a tool to process ~ 500 galaxy rotation curves for my theory in astrophysics (Finite Theory) in Python and C++:

https://github.com/philippeb8/grc/blob/main/src/main.cpp

I'm not sure why Python is so popular given it's a trillion times slower than C++.

Anyway my point is parallel_for that I'm using is by far very essential to speed up these types of algorithms. I remember back at university we were using a language called Parallaxis for parallel processing. Functions like parallel_for can definitely fill in this gap.

So I was just wondering if there are any plans to parallelize C++?


Regards,

--
Logo
Phil Bouchard facebook icon
CTO
T: (819) 328-4743
E: phil@fornux.com | www.fornux.com
1188 rue Saint-Louis | Gatineau (Qc), J8T 2L8 Canada
Banner Le message ci-dessus, ainsi que les documents l'accompagnant, sont destinés uniquement aux personnes identifiées et peuvent contenir des informations privilégiées, confidentielles ou ne pouvant être divulguées. Si vous avez reçu ce message par erreur, veuillez le détruire.
This communication (and/or the attachments) is intended for named recipients only and may contain privileged or confidential information which is not to be disclosed. If you received this communication by mistake please destroy all copies.
--
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
--
Logo
Phil Bouchard facebook icon
CTO
T: (819) 328-4743
E: phil@fornux.com | www.fornux.com
1188 rue Saint-Louis | Gatineau (Qc), J8T 2L8 Canada
Banner Le message ci-dessus, ainsi que les documents l'accompagnant, sont destinés uniquement aux personnes identifiées et peuvent contenir des informations privilégiées, confidentielles ou ne pouvant être divulguées. Si vous avez reçu ce message par erreur, veuillez le détruire.
This communication (and/or the attachments) is intended for named recipients only and may contain privileged or confidential information which is not to be disclosed. If you received this communication by mistake please destroy all copies.
--
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
--
Email Signature
Logo
Phil Bouchard facebook icon
CTO
T: (819) 328-4743
E: phil@fornux.com | www.fornux.com
1188 rue Saint-Louis | Gatineau (Qc), J8T 2L8 Canada
Banner Le message ci-dessus, ainsi que les documents l'accompagnant, sont destinés uniquement aux personnes identifiées et peuvent contenir des informations privilégiées, confidentielles ou ne pouvant être divulguées. Si vous avez reçu ce message par erreur, veuillez le détruire.
This communication (and/or the attachments) is intended for named recipients only and may contain privileged or confidential information which is not to be disclosed. If you received this communication by mistake please destroy all copies.