News for hackers. Stuff that matters.
Re:Whats New in PHP 8.2 by VWWHFSfQ on Monday April 25, 2022 @11:44AM (#31156478)
isn't this what pyc's are? what's the difference?
Re:Whats New in PHP 8.2 by saila on Monday April 25, 2022 @01:16PM (#31157886)
It sounds like they're talking about deployments where a new process is spawned to handle each request, but for the most part no one deploys Python web apps that way, so I'm not sure.

PHP may have some advantages in terms of deployment, so I guess it's a question of whether those advantages outweigh the potential advantages of using Python for development, which is of course subjective/situational.

Re:Whats New in PHP 8.2 by chippiewill on Monday April 25, 2022 @01:19PM (#31157938)
It's because PHP uses a CGI process-per-request style model, while there's no good or modern for support in Python for that execution model these days (the community is built around WSGI and ASGI instead). Opcode caching isn't actually relevant because PHP reuses the processes and in-memory structures these days as much as possible.