News for hackers. Stuff that matters.
Re:Python-based compiler achieves orders-of-magnitude speedups by jstarfish on Wednesday March 15, 2023 @02:58PM (#35173092)
Pypy is great but I didn't find it very useful with Django.

Quick, transactional HTTP exchanges (GET, POST, etc.) aren't really its thing-- there's no time for the compiler to get warmed up; the request is complete before pypy has gotten out of bed.

But if you have to do really complex view rendering (graphs or something) where it would take cpython ~10s or more to process, then pypy will leave cpython in the dust.

Re:Python-based compiler achieves orders-of-magnitude speedups by afdbcreid on Wednesday March 15, 2023 @04:31PM (#35174315)
I've never used PyPy, but shouldn't it warm after the Nth request even if you don't have loops?