3 ms·
Pure WASM Life 2: Optimizing WebAssembly and Canvas
- __s 3y agoPure wasm has benefits since it gives you full control of heap layout The last bit about not changing areas of the board sounds like the initial step down the madness of implementing hashlife algorithm in pure webassembly https://en.m.wikipedia.org/wiki/Hashlife https://en.m.wikipedia.org/wiki/Hashlife Few years ago I was tinkering with raw wasm lua (never got bytecode eval working, so no result) & wrote table's code in wasm (which was then used by lexer) https://github.com/serprex/luwa/blob/master/rt/_table.lua https://github.com/serprex/luwa/blob/master/rt/_table.lua