Re: [PHP-DEV] Re: [RFC] Fiber support (again)
Fiber and all async functions, without event-loop - useless. Need new PHP Application Server. Best variant `libuv` in core PHP for event-loop and async I/O, and implementing as async PHP SAPI as `Nginx Unit` module http://unit.nginx.org/ Thanks. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Re: [RFC] Fiber support (again)
I've used Swoole, and it is in deed a very high quality extension - both in terms of performance and stability. I haven't used the low-level co-routines, but the HTTP server was rock steady, no memory leaks, easy to implement and CRAZY fast :-) Kind of turns PHP into a better version of Node tbh ;-) On Mon, May 7, 2018 at 5:00 PM, Jefferson Gonzalezwrote: > I'm just sneaking into the subject to point out that theres already some > work on this with the PHP swoole extension, in case it hasn't been > looked/taked into consideration yet: > > https://github.com/swoole/swoole-src#coroutine > https://github.com/swoole/swoole-src#short-api-name > > It has great performance and the event based http server demonstrates how > well it performs. Great to see stuff like this could be shipped as part of > the core which transcend PHP uses. > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >
[PHP-DEV] Re: [RFC] Fiber support (again)
I'm just sneaking into the subject to point out that theres already some work on this with the PHP swoole extension, in case it hasn't been looked/taked into consideration yet: https://github.com/swoole/swoole-src#coroutine https://github.com/swoole/swoole-src#short-api-name It has great performance and the event based http server demonstrates how well it performs. Great to see stuff like this could be shipped as part of the core which transcend PHP uses. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php