Why isn't the asynchronous framework like yield coroutine and swoole written in PHP caught off the cold? Assumerwoolwool private server cashwoo

Source: Internet
Author: User
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">
  1. 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.

  2. One requirement for rapid implementation is the primary issue for PHP developers. the performance issue is secondary before the business volume grows sufficiently.

  3. 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.