Thank you for your efforts,  but it feels like we're being dragged down 
again.






Why is it so difficult to introduce asynchronous or coroutine features in PHP?
Has PHP been taken over by certain organizations or authoritarian individuals?




《As a user I rather like not having to deal with async in PHP. While I can
and do work with it in JavaScript it is by far the part of the language I
dislike the most. If I've got to deal with concurrency and thread issues
I'm writing the project in Golang or some other compiled language - not PHP》


If asynchronous features are already being used in Go or JavaScript, is there 
still a need to use PHP?
So why are they blocking the introduction of asynchronous and coroutine 
features in PHP, preventing it from progressing? Given the current state of 
technology, how much longer can PHP compete with other languages?




Please pause the patchwork fixes,  
and seriously consider what features PHP developers truly need?     
 
Please don't let PHP stagnate any longer.  






         原始邮件
         
       
发件人:Edmond Dantes <edmond...@gmail.com&gt;
发件时间:2025年7月16日 00:44
收件人:internals@lists.php.net <internals@lists.php.net&gt;
主题:[PHP-DEV] TrueAsync Engine API RFC



       Good&nbsp;day&nbsp;everyone.

Today&nbsp;I’d&nbsp;like&nbsp;to&nbsp;present&nbsp;an&nbsp;updated&nbsp;RFC&nbsp;related&nbsp;to&nbsp;True&nbsp;Async.

This&nbsp;RFC&nbsp;proposes&nbsp;changes&nbsp;only&nbsp;to&nbsp;PHP&nbsp;core&nbsp;and&nbsp;does&nbsp;not&nbsp;affect&nbsp;any
user-facing&nbsp;features.

https://wiki.php.net/rfc/true_async_engine_api

The&nbsp;main&nbsp;goal&nbsp;of&nbsp;the&nbsp;RFC&nbsp;is&nbsp;to&nbsp;introduce&nbsp;a&nbsp;backend&nbsp;for&nbsp;asynchronous
functionality&nbsp;in&nbsp;PHP.

This&nbsp;approach&nbsp;allows&nbsp;gradually&nbsp;bring&nbsp;async&nbsp;capabilities&nbsp;into&nbsp;the
language&nbsp;and&nbsp;gives&nbsp;space&nbsp;to&nbsp;better&nbsp;design&nbsp;the&nbsp;main&nbsp;userland&nbsp;API&nbsp;in&nbsp;a
separate&nbsp;RFC&nbsp;later.

If&nbsp;this&nbsp;RFC&nbsp;is&nbsp;accepted&nbsp;for&nbsp;PHP&nbsp;8.5,&nbsp;there&nbsp;is&nbsp;a&nbsp;good&nbsp;chance&nbsp;to&nbsp;prepare
userland&nbsp;async&nbsp;in&nbsp;PHP&nbsp;9.

For&nbsp;now,&nbsp;all&nbsp;userland&nbsp;API,&nbsp;such&nbsp;as&nbsp;coroutine&nbsp;functions&nbsp;(spawn),&nbsp;await,
and&nbsp;will&nbsp;be&nbsp;available&nbsp;in&nbsp;a&nbsp;separate&nbsp;extension:
https://github.com/true-async/php-async.
But&nbsp;just&nbsp;to&nbsp;be&nbsp;clear,&nbsp;this&nbsp;extension&nbsp;is&nbsp;not&nbsp;part&nbsp;of&nbsp;the&nbsp;current&nbsp;RFC.

Best&nbsp;regards.

Reply via email to