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.
[ Parent
| on HN ]
There are no comments on this comment yet.