An open API service indexing awesome lists of open source software.

https://github.com/vvanders/wasm_lua

Lua VM running in a WASM environment
https://github.com/vvanders/wasm_lua

Last synced: 8 months ago
JSON representation

Lua VM running in a WASM environment

Awesome Lists containing this project

README

          

# wasm_lua
Lua VM running in your browser!

Open [here](https://cdn.rawgit.com/vvanders/wasm_lua/d68f46a8/main.html), if it works you should see "Hello Lua!".

Each update is executed in a unique VM instance via WASM + emscripten.

Currently test on Firefox 52.0 but probably works on other platforms as well.

# Why?
[Lua](https://en.wikipedia.org/wiki/Lua_(programming_language)) is a fast, highly embeddable VM that boasts a wide set of features allowing it to be adapted to a diverse set of domains and platforms.

* Can be run in 400kb of memory or less.
* Multi-paradigm via metatables, closures and coroutines.
* Robust, proven VM that's shipped on platforms including MIPS, x86, ARM and many others(and now WASM!).
* Small, easy to understand language.
* Extensible debugger hooks for easy on-target debugging.

Thanks to [rawgit](http://rawgit.com/) for hosting.