3 ms·
I would rather a JIT just built into the reference implementation. a JIT would help way more programs than removing the GIL but everyone thinks the GIL affects
by dec0dedab0de 2y ago
I would rather a JIT just built into the reference implementation. a JIT would help way more programs than removing the GIL but everyone thinks the GIL affects them for some reason.
- O5vYtytb 2y agoThere already is. https://docs.python.org/3.13/whatsnew/3.13.html#an-experimental-just-in-time-jit-compiler https://docs.python.org/3.13/whatsnew/3.13.html#an-experimen...
- masklinn 2y agoThey serve different use cases. The function JIT pattern being a manual opt in it can be much more aggressive by only supporting restricted language patterns rather than... the entire thing. They can also use bespoke annotations for better codegen e.g. you can tell numba to only codegen for i32 -> i32 -> i32, rather than lazily codegen for any a -> b -> c.