News for hackers. Stuff that matters.
Re:Python 3.15's JIT is now back on track by bjourne on Thursday March 19, 2026 @06:40AM (#47437255)
Untrue. Objects and attributes may be shared by threads so attribute accesses can't in general be localized.
Re:Python 3.15's JIT is now back on track by anematode on Friday March 20, 2026 @03:27AM (#47451556)
It is true! If you explicitly synchronize between threads, sure, you can't optimize it in general, but if not, the compiler is well within its rights to cache the access.
Re:Python 3.15's JIT is now back on track by bjourne on Saturday March 21, 2026 @01:33PM (#47469197)
Sure, if the compiler can prove that the objects are thread-local. But that's not the general case.