C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Any plans to standardize parallel_for?

From: Phil Bouchard <boost_at_[hidden]>
Date: Thu, 18 Aug 2022 18:43:07 -0400
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_at_[hidden]> 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 <https://www.fornux.com/>
> *Phil Bouchard* facebook icon
> <https://www.linkedin.com/in/phil-bouchard-5723a910/>
> CTO
> T: (819) 328-4743
> E: phil_at_[hidden]| www.fornux.com <http://www.fornux.com>
> 1188 rue Saint-Louis| Gatineau (Qc), J8T 2L8 Canada
>
> Banner <https://goglobalawards.org/> 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_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
-- 
Email Signature
Logo <https://www.fornux.com/>  
*Phil Bouchard*  facebook icon 
<https://www.linkedin.com/in/phil-bouchard-5723a910/>
CTO
T: (819) 328-4743
E: phil_at_[hidden]| www.fornux.com <http://www.fornux.com>
1188 rue Saint-Louis| Gatineau (Qc), J8T 2L8 Canada
Banner <https://goglobalawards.org/> 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.

Received on 2022-08-18 22:43:16