News for hackers. Stuff that matters.
Re:Cinder: Meta's internal performance-oriented production v... by lozenge on Thursday September 22, 2022 @04:18AM (#32936132)
Sounds like Cython.

PyPy did also fix some of those issues - specifically, lists of small integers are optimised, with a deopt path for when they overflow.

Re:Cinder: Meta's internal performance-oriented production v... by jakobnissen on Thursday September 22, 2022 @04:47AM (#32936324)
All my points above are about the language semantics of Python, not the implementation. Some of them may be optimized some of the time with a clever enough JIT - but only a few of these points. That's why PyPy is not as fast as C.
Re:Cinder: Meta's internal performance-oriented production v... by tekknolagi on Thursday September 22, 2022 @09:46AM (#32938671)
PyPy very much can handle all of the above cases! You should check out some of their recent papers about unboxing fields in objects. Some things are language semantics (__dict__, etc) but are often faked by proxy objects since most people don't actually care about the dict.
Re:Cinder: Meta's internal performance-oriented production v... by jakobnissen on Thursday September 22, 2022 @11:16AM (#32940042)
Can it autovectorize integer operations on lists? Can it remove branches from accessing fields? I doubt it.
Re:Cinder: Meta's internal performance-oriented production v... by tekknolagi on Wednesday September 28, 2022 @01:53AM (#33004663)
I am pretty sure it can remove branches from accessing fields, but I am not sure about vectorization.