PHP PHP PHP PHP golang gonode.js Java PHP"/> PHP PHP PHP PHP golang gonode.js Java PHP">
Home >Backend Development >PHP Tutorial >Why are PHP writers not interested in asynchronous frameworks like yield coroutines and swoole? christopherwool wool private server cashwoo
data-id="1190000004931848">
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.
Quickly realizing a requirement is the primary problem faced by PHP developers. Performance issues are secondary until the business volume grows large enough.
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.