Re: PHP True Async RFC

From: Date: Sat, 08 Mar 2025 18:37:37 +0000
Subject: Re: PHP True Async RFC
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18  Groups: php.internals 
Request: Send a blank email to internals+get-126656@lists.php.net to get a copy of this message
> > Crippling async PHP with async blocks just because some libraries aren't ready for concurrency now, means crippling the future of async php. > How can calling a single function have such a destructive impact on the future of PHP? Yes, you have to write 10-20 more characters than usual one time. Yes, it’s a hack. Every programming language with history has hacks.. Hacks evoke negative emotions. But life does too :) All that’s needed is to change a few lines of code in index.php to initialize the application in an asynchronous context. It’s the same as launching Swoole: you need a few lines of code to initialize the web server. --- Ed

« previous php.internals (#126656) next »