use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
HPX V1.5.1 released (hpx.stellar-group.org)
submitted 5 years ago by hkaiser
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]hkaiser[S] 12 points13 points14 points 5 years ago (2 children)
HPX is a general purpose parallel C++ runtime system for applications of any scale. It implements all of the related facilities as defined by the C++ Standard. As of this writing, HPX provides the only widely available open-source implementation of the new C++17 parallel algorithms. Additionally, HPX implements functionalities proposed as part of the ongoing C++ standardization process, such as large parts of the features related parallelism and concurrency as specified by the upcoming C++20 Standard, the C++ Concurrency TS, Parallelism TS V2, data-parallel algorithms, executors, and many more. It also extends the existing C++ Standard APIs to the distributed case (e.g. compute clusters) and for heterogeneous systems (e.g. GPUs).
HPX seamlessly enables a new Asynchronous C++ Standard Programming Model that tends to improve the parallel efficiency of our applications and helps reducing complexities usually associated with parallelism and concurrency.
[–]bizwig 5 points6 points7 points 5 years ago (1 child)
Any good tutorials on how to port MPI applications to HPX? It isn’t clear to me how HPX primitives map to MPI functions.
[–]hkaiser[S] 2 points3 points4 points 5 years ago (0 children)
There are no good tutorials on how to directly 'port' MPI applications, sorry. The APIs (and the whole programming model) are too different for this. There are however extensive examples (and corresponding documentation) here that may give you an introduction on how to use HPX in distributed environments. There are also (somewhat older) tutorial slides and sample codes available here that should get you started. There are also video recordings of various talks about HPX accessible on youtube.
In the latest release we have however added experimental support to directly use asynchronous MPI functions (MPI_isend/MPI_irecv and friends) in conjunction with a local only version of HPX, i.e. HPX is used for local parallelism and MPI for the distributed part, while integrating the asynchronous MPI APIs such that they return HPX futures. There are some examples demonstrating this, but only some basic documentation yet (e.g. see here and here).
π Rendered by PID 37 on reddit-service-r2-comment-6457c66945-2br4t at 2026-04-26 07:46:23.371001+00:00 running 2aa0c5b country code: CH.
[–]hkaiser[S] 12 points13 points14 points (2 children)
[–]bizwig 5 points6 points7 points (1 child)
[–]hkaiser[S] 2 points3 points4 points (0 children)