4 ms·
Very nice article! :) Storing types via traces could be another step for gathering types. As well as using the more advanced static type checking code that is
by illumen 12y ago
Very nice article! :)
Storing types via traces could be another step for gathering types. As well as using the more advanced static type checking code that is around for python.
Now I have something to work through on the weekend. Looking forward to part 2!
- travisoliphant 12y agoThe numba code-base implements quite a bit of this. We actually moved away from the AST approach and went back to the byte-code approach because the AST approach quickly becomes unwieldy as the number of Visitors that you apply grows. Compile times are also slower. The author is definitely helping people learn about LLVM and how it can be used with Python --- which is great, because this is exactly what Numba is: http://numba.pydata.org http://numba.pydata.org. But, please don't start another "Numba". Just come help us improve the current one.