Why are PHP writers not interested in asynchronous frameworks like yield coroutines and swoole? christopherwool wool private server cashwoo

WBOY
Release: 2016-07-29 08:53:39
Original
1784 people have browsed it

data-id="1190000004931848">

  1. It is meaningless to talk about technology without the demand scenario. PHP's biggest advantage is rapid development, while its disadvantages are efficiency and engineering specifications. Technologies such as coroutines and asynchronous technologies are relatively expensive to learn, but their advantage lies in obvious performance improvements. This is in contradiction with the advantages of the PHP language itself.

  2. Quickly realizing a requirement is the primary problem faced by PHP developers. Performance issues are secondary until the business volume grows large enough.

  3. PHP’s coroutine and asynchronous implementation are too inelegant. People who are interested in studying coroutines will definitely compare golang's go, node.js and even Java's multi-threading. After comparison, it is not difficult to find that PHP's implementation is too rough.

The above introduces why those who write PHP are not interested in asynchronous frameworks such as yield coroutines and swoole? , including yield and wool aspects, I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template