Yield, wool: why isn't the asynchronous framework like yield coroutine and swoole written in PHP catch a cold? : Data-& gt; phpphpphpgolanggonode. jsJavaPHP data-id = "1190000004931848">
It is meaningless to leave the demand scenario to talk about technology. The biggest advantage of PHP is rapid development, and the disadvantage lies in efficiency and engineering specifications. The coroutine and asynchronization technologies are relatively costly to learn, and the advantage lies in the obvious performance improvement. This is a paradox behind the advantages of the PHP language itself.
One requirement for rapid implementation is the primary issue for PHP developers. the performance issue is secondary before the business volume grows sufficiently.
PHP's coroutine and asynchronous implementation are not elegant. Those who are interested in researching coroutine will certainly compare golang's go, node. js, and even Java Multithreading. After comparison, it is not difficult to find that PHP implementation is too rough.
The above explains why the asynchronous framework like yield and swoole does not catch a cold when I write PHP ?, Including yield and wool content, and hope to help those who are interested in PHP tutorials.