News for hackers. Stuff that matters.
Re:Python-based compiler achieves orders-of-magnitude speedups by jstx1 on Wednesday March 15, 2023 @07:28AM (#35166577)
Have a look at Cinder - https://github.com/facebookincubator/cinder - it's Meta's performance oriented fork of CPython that they use to run Instagram (which is a big Django app).
Re:Python-based compiler achieves orders-of-magnitude speedups by robertlagrant on Wednesday March 15, 2023 @11:06AM (#35169445)
I always wondered with Cinder why they didn't turbocharge PyPy development instead.
Re:Python-based compiler achieves orders-of-magnitude speedups by lozenge on Wednesday March 15, 2023 @04:47PM (#35174493)
With a codebase of any significant size the priority is always to maintain compatibility while improving performance.

If you start with an incompatible, highly performant interpreter, the compatibility "distance" is difficult to measure and could create unknown performance cost. For example, PyPy doesn't support C modules due to the differing memory layout.

Re:Python-based compiler achieves orders-of-magnitude speedups by tekknolagi on Wednesday March 15, 2023 @07:15PM (#35175995)
Two main reasons:

* C extensions

* Instagram's forking server model

I gave a talk that touched on some of this last year: https://2022.ecoop.org/details/ICOOOLPS-2022-papers/5/Cinder...

I wonder why the recording is not up...