Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rafa1981
· 7y ago · 0 comments
I don't know if luajit runs in your device, but vanilla luajit supports generating and loading bytecode.
https://luajit.org/running.html
Comments
[–]
SlowRobotAhead
7y ago
I think primarily it’s the ffi I would be missing. This would get me a turing complete language but set up as an executable it’s wrong for me.
[–]
rafa1981
OP
7y ago
Notice that if I remember correctly, you can generate bytecode on the PC (by using the luajit command) and have the resulting bytecode loaded through the C API on your device as if it were a regular script.