3 ms·
This is super cool. It looks like you are in the process of porting the .js to .lua? Wasm will exist in many more places than Js will. I think I would have st
by sitkack 9y ago
This is super cool.
It looks like you are in the process of porting the .js to .lua? Wasm will exist in many more places than Js will.
I think I would have started with many of the Lua on Js implementations and used zero Js.
Have you seen http://stefan-marr.de/2015/10/jit-data-structures-fully-reflective-vms-and-meta-circular-meta-tracing/ http://stefan-marr.de/2015/10/jit-data-structures-fully-refl...
Check out this paper, https://www.cs.purdue.edu/homes/rompf/papers/amin-draft2017a.pdf https://www.cs.purdue.edu/homes/rompf/papers/amin-draft2017a... Collapsing Towers of Interpreters
- __s 9y agoYes: at the end there should only be the light rt.js layer. Manipulating DOM is not in my scope; WASM is evolving on that front still. Currently rt.js has to expose a free method for handles, that may become unnecessary as WASM's gc capabilities develop Thanks for the links