"Speed is almost same for some part python was better" tell that to any experienced senior engineer, and you'll be fired! Because it's a BIG LIE! PHP is in orders of magnitude faster than Python.
Brother , Most Python library are ported from same c and c++ code so most of the time there are solutions that compile back to same assembly as c and now the python work faster than anything you know in php . For Proofs you can send me mail i will share you the benchmarks for our organization tested results.
WTF are you talking about?! I've been working with both languages for more then 10 years. Have you ever heard about PHP OpCache? php.net/manual/en/book.opcache.php
"python work faster than anything you know in php" never witnessed so blatantly lie! Are you living in some parallel universe? hackr.io/blog/python-vs-php check the speed comparison section.
The code compilation process affects the performance and speed of these two programming languages. A just-in-time compiler converts the Python development code into bytecode, each time a file is created or modified. So the Python files need not be recompiled again in future. The Python interpreter can easily access and fetch the precompiled bytecode (.pyc files). The code compilation process makes Python faster than PHP.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
"Speed is almost same for some part python was better" tell that to any experienced senior engineer, and you'll be fired! Because it's a BIG LIE! PHP is in orders of magnitude faster than Python.
Brother , Most Python library are ported from same c and c++ code so most of the time there are solutions that compile back to same assembly as c and now the python work faster than anything you know in php . For Proofs you can send me mail i will share you the benchmarks for our organization tested results.
Nobody can fire you unless you are an idiot
WTF are you talking about?! I've been working with both languages for more then 10 years. Have you ever heard about PHP OpCache? php.net/manual/en/book.opcache.php
"python work faster than anything you know in php" never witnessed so blatantly lie! Are you living in some parallel universe?
hackr.io/blog/python-vs-php check the speed comparison section.
The code compilation process affects the performance and speed of these two programming languages. A just-in-time compiler converts the Python development code into bytecode, each time a file is created or modified. So the Python files need not be recompiled again in future. The Python interpreter can easily access and fetch the precompiled bytecode (.pyc files). The code compilation process makes Python faster than PHP.