Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nstat41
· 9y ago · 0 comments
Would be wild if you could work FFI with webasm in here somehow
Comments
[–]
vvanders
9y ago
No need to do that, you can use wasm to build lua[1], although the API definitely needs some clean up. This looks much nicer from a JS integration perspective.
[1]
https://github.com/vvanders/wasm_lua
[–]
chx
9y ago
Hail the light! Down with the tyranny of JavaScript! This is fantastic!
[–]
giann
9y ago
Interaction with JS with Fengari is as simple as "js.global:alert('hello')" with
https://github.com/fengari-lua/fengari-interop