Cool! Aside from the Python JIT portion, this was a pretty decent dive into LLVM. One question: was this a notebook, or it it just CSS that's making the code look like that?
Whoa, I've had this idea kicking around in my mind for a looong time (specifically something for dynamically generating Go code). Was wondering if anyone actually built this out, but could never find anything. Thanks for sharing!
> In this talk, I live-code a simple stack machine and turn it into an interpreter capable of running Web Assembly. I then use that to play a game written in Rust.
Wow. This is mind blowing. Thanks for the pointer.
20 comments
[ 3.1 ms ] story [ 50.9 ms ] threadMostly live coded, it really is pretty amazing but also quite insightful.
Wow. This is mind blowing. Thanks for the pointer.
[0] https://www.youtube.com/watch?v=pkCLMl0e_0k
Discussed at the time: https://news.ycombinator.com/item?id=8929040
https://github.com/numba/llvmlite
See also http://llvmlite.pydata.org/en/latest/user-guide/index.html and in the context of the original article, in particular these two pages:
http://llvmlite.pydata.org/en/latest/user-guide/ir/examples....
http://llvmlite.pydata.org/en/latest/user-guide/binding/exam...
Hope this helps! :-)