News for hackers. Stuff that matters.
Re:Asynchronous Programming in Python: Asyncio by sideproject on Monday May 01, 2017 @07:40PM (#14242774)
Apologies for digressing a bit, but is there something like Asyncio for PHP? I've been looking into this for quite some time, but the standard answer I get is using queues. Would love to hear about any latest projects related to this.
Re:Asynchronous Programming in Python: Asyncio by Lazare on Monday May 01, 2017 @07:45PM (#14242809)
You're probably looking for ReactPHP (http://reactphp.org/), or possibly Amp (http://amphp.org/).

There's also a collection of resources here: https://github.com/elazar/asynchronous-php

Re:Asynchronous Programming in Python: Asyncio by sideproject on Tuesday May 02, 2017 @12:07AM (#14243891)
Hm. Never heard of Amp! But it looks promising! Thanks.
Re:Asynchronous Programming in Python: Asyncio by rckclmbr on Monday May 01, 2017 @09:12PM (#14243240)
Hack has awaitables. I would highly recommend using hack over php (as it's mostly backward compatible anyway). https://docs.hhvm.com/hack/async/awaitables