James, I apologize for the very long delay in answering your email - it was stuck in the email list moderation queue without me noticing. I hope that somebody will now be able to answer your questions.
Regards Hartmut --------------- http://stellar.cct.lsu.edu https://github.com/STEllAR-GROUP/hpx > -----Original Message----- > From: hpx-users-boun...@stellar-group.org <hpx-users-bounces@stellar- > group.org> On Behalf Of James Buster > Sent: Saturday, September 19, 2020 11:18 PM > To: hpx-users@stellar-group.org > Subject: [hpx-users] HPX for general purpose asynchronous networking? > > I have a boost::fiber + Asio (among other things) application I was > thinking of switching to HPX. Is this something HPX would be suitable for? > I know HPX uses Asio under the hood, but I can't find any examples of > direct HPX + Asio. HPX obviously makes extensive use of futures and fiber > suspension/resumption but I also don't see examples of async_result > functionality similar to: > > auto myfuture = socket.async_send(buffer, hpx::use_future); or auto bytes > = socket.async_send(buffer, hpx::yield); > > Asio's chained continuation code model is bonkers, which is why I like > this synchronous-appearing code style which boost fibers enable. > > I am also looking at HPX as a replacement for MPI, which I see is a major > use case for HPX, but it isn't really clear to me how to map MPI idioms to > HPX. For example, a distributed merge sort or radix sort. > _______________________________________________ > hpx-users mailing list > hpx-users@stellar-group.org > https://mail.cct.lsu.edu/mailman/listinfo/hpx-users _______________________________________________ hpx-users mailing list hpx-users@stellar-group.org https://mail.cct.lsu.edu/mailman/listinfo/hpx-users