4 ms·
I'm curious, why not LuaJIT? It's small and fast and when you need it to be faster, it has excellent C FFI and the ability to add inline assembly[0]. [0]: http
by PopeOfNope 11y ago
I'm curious, why not LuaJIT? It's small and fast and when you need it to be faster, it has excellent C FFI and the ability to add inline assembly[0].
[0]: https://gist.github.com/lukego/d15f3a65bd316ea2c2b6 https://gist.github.com/lukego/d15f3a65bd316ea2c2b6
- jamii 11y agoWe needed control over memory layout and some path to running in the browser. I considered writing the data-structures in C and the rest in Lua but it would require more manual memory management than Rust and there is no clear path to compiling mixed Lua/C projects into Javascript.
- PopeOfNope 11y agoThat's a good reason. :)