News for hackers. Stuff that matters.
Re:Python 3.11.0 final is now available by IanOzsvald on Tuesday October 25, 2022 @11:33AM (#33331981)
Numba focuses on scientific use cases speeding up most of numpy and some of scipy. Whilst it can compile some parts of pure Python (eg numeric array loops), generally you have to copy the data in to the numba side which can be slow in volume. Numba isn't really meant for pure Python speed-ups, it gets rid of numpy specific inefficiencies. Personally I'm pretty excited to see a fresh JIT working its way into core CPython (I'm the co-author of O'Reilly's High Performance Python).
Re:Python 3.11.0 final is now available by kevin_thibedeau on Tuesday October 25, 2022 @02:15PM (#33334224)
The low hanging fruit is to implement something like a built in Cython without any type annotations. You get a speedup from not having bytecode but still have all the PyObject attribute lookups performed from native code.
Re:Python 3.11.0 final is now available by __mharrison__ on Tuesday October 25, 2022 @03:12PM (#33334886)
Something like Psyco from Python 2 days...