News for hackers. Stuff that matters.
Re:Python 3.11 is faster than 3.8 by bityard on Wednesday October 26, 2022 @02:14PM (#33347356)
It's not as surprising if you look at the primary use case of PHP. It takes a request, does a bunch of stuff, and returns the result to the web server. And it needs to do all of it before the user who clicked on the link gets bored and goes somewhere else. (Or the API client calling it times out...)
Re:Python 3.11 is faster than 3.8 by coldtea on Wednesday October 26, 2022 @03:27PM (#33348184)
How is that relevant? This is not about it being faster for "it's primary use case" (optimized for that, etc).

It's generally faster than Python in doing the same things as Python does, unrelated to web too.

Re:Python 3.11 is faster than 3.8 by lmm on Wednesday October 26, 2022 @08:21PM (#33351422)
The point is that PHP's primary, original use case is latency-sensitive in a way that Python's isn't. So it's always been subject to more performance pressure.