What is the impact on python after php7 is updated? Can python + c extensions hold performance?

Source: Internet
Author: User
After php7 is updated, it is known that its performance is directly pursued by facebook's HHVM. What impact will it have on python, especially in the web development field, after such a "everyone can get" performance improvement? In addition, can the python + c extension be able to hold the performance (for example, close to the performance of c) in actual use ?)? Is there a possibility that python can also improve this performance? (It is rumored that python3 is better than python2 but it is a self-downgrading performance.) Well, I know that after pyth php7 is updated, it is said that the performance is directly chasing facebook's HHVM, what is the impact on python, especially in the web development field, after the performance improvement of "everyone can get?
In addition, can the python + c extension be able to hold the performance (for example, close to the performance of c) in actual use ?)?
Is there a possibility that python can also improve this performance? (It is rumored that python3 is more self-degraded than python2)
===== Update the separator ======
Well, I know that python, pypy, gevent, and other "technologies" can improve the performance. So here we talk about the language in a single way, what is the comparison between these "performance technology" ecosystems? Does php7 greatly affect the original ecological situation? Reply: an anonymous user said, "Php7 has better performance and it is also PHP. To some extent, php7 is not as meaningful as swoole .", I wrote some comments to suspect that I wrote them. Hurry up and clarify. I know that only one person can answer the question once, so it is definitely not what I wrote. In addition, the value of PHP7 is far greater than that of Swoole. PHP7 is a benefit for all PHPer, and Swoole is mainly for high-level PHP programmers.

PHP7 and Swoole is two direction thing, details can see I write the blog "PHP7 and Swoole" http://rango.swoole.com/archives/440

PHP7 has no impact on Python. Performance is relative, More meaningful than yourself. For example, in PHP5.6, my program can support 100 requests per second, and PHP7 can increase to 300 requests per second. Can cope with larger concurrency. This is valuable.

What makes PHP7 great is that it allows your program No costImprove performance by 2 times. So PHP programmers should hurry up and kneel down to thank laruence. To this extent, Python has never relied on performance. People who have the ultimate pursuit of performance will not suffer from Python.

In addition, there are many solutions to improve Python performance, not just C extension. This depends on the specific application. Python is a general glue language and has stood in many fields. Why bother to compete with others for performance issues.

Just like Ruby is becoming more and more friendly to internal DSL, C ++ is becoming more and more complex, and Java is becoming more and more like Scala.

But after all, it is not the best programming language. Let's talk about performance. If you use C without PHP7, php is still the best web language, and Php7 is also PHP. To some extent, the significance of php7 is not as good as that of swoole. It's no big deal to chew on py's phper. love his mother whowho, and love who is who! Low-handed, I would like to ask you, now the whole series of javascript technologies are popular in foreign countries, from JS front-end to node. js, Express, React, React Native IOS, and React Native Android are just a full set of JS products. Can PHP be squeezed into a position in this series? How to squeeze? When talking about performance in different scenarios, it is a rogue game! Menstruation post, which language have you got?

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.