4 ms·
I’d love a “how’s it work” section. From what I gather, it’s not wasm or anything; rather, it’s transpiling lua to JS at runtime. Is that right?
by timwis 5y ago
I’d love a “how’s it work” section. From what I gather, it’s not wasm or anything; rather, it’s transpiling lua to JS at runtime. Is that right?
- genezeta 5y agoAccording to the description, a minimal glance at the code and this [0], no, that's not it. It is "the Lua VM written in JavaScript" and "largely a port of the PUC-Rio C implementation of Lua". It runs the Lua code on that VM, so there's no transpilation. [0] https://hackernoon.com/why-we-rewrote-lua-in-js-a66529a8278d https://hackernoon.com/why-we-rewrote-lua-in-js-a66529a8278d