News for hackers. Stuff that matters.
Re:Python 3.11 vs 3.10 performance by 323 on Wednesday July 06, 2022 @12:45PM (#32003496)
JavaScript doesn't really have C extensions like Python has.

PyPy did implement a JIT for Python, and it worked really well, until you tried to use C extensions.

Re:Python 3.11 vs 3.10 performance by tambourine_man on Wednesday July 06, 2022 @12:55PM (#32003651)
That’s what I meant, if JavaScript hadn’t been trapped in the browser and allowed to call C, maybe there wouldn’t have been so much investment in making it fast.

But still, it’s kind of surprising that PHP has a JIT and Python doesn’t (official implementation I mean, not PyPy).

Re:Python 3.11 vs 3.10 performance by int_19h on Wednesday July 06, 2022 @04:21PM (#32006306)
Python has a lot more third-party packages that are written in native code. PHP has few partly because it just isn't used much outside of web dev, and partly because the native bits that might be needed for web devs, like database libraries, are included in the core distro.
Re:Python 3.11 vs 3.10 performance by pjmlp on Thursday July 07, 2022 @06:32AM (#32012226)
Because it has to, there is no other way to make it fast, as typical two language dilemma.