Support for Async / Await

From: Date: Sun, 22 Dec 2019 20:59:09 +0000
Subject: Support for Async / Await
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-107940@lists.php.net to get a copy of this message
Hi Internals, Since the start of PHP 7, we've seen some amazing performance improvement version by version as a result of core updates. Now some of the biggest wins have been implemented (with JIT due for PHP 8), I'd personally love to see support for Async / Await introduced in PHP's as a core language feature too. Being able to perform tasks in parallel such as reading or writing to DB, cache, queues... Would be a massive advantage and the performance gains from it could be really exciting! Looking at how Hack has implemented support, this seems like it could be a great start for a RFC, what does everyone else think? Here's a link to Hack's implementation for reference: https://docs.hhvm.com/hack/asynchronous-operations/some-basics Thoughts welcome from everyone. Cheers, Aran

« previous php.internals (#107940) next »