News for hackers. Stuff that matters.
Re:Decorator JITs: Python as a DSL by dec0dedab0de on Monday February 03, 2025 @10:44AM (#42919314)
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.
Re:Decorator JITs: Python as a DSL by masklinn on Monday February 03, 2025 @10:54AM (#42919436)
They 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.
Re:Decorator JITs: Python as a DSL by O5vYtytb on Monday February 03, 2025 @10:48AM (#42919367)