swadical
swadical
Override and inline wasm-implementations of frequently used libc functions with lua-implementations
i.e. we roll our own optimised code that plays nice with our custom memory design e.g. (naiive memcpy example that's optimised for luajit) ```lua function __FUNCS__.memcpy(dest, src, len) local fastLen...
This way, jmpstreams can be used for longjmps too
This way virtual registers are confined within a block and the LuaJIT's tracer heuristics can work better with inferring local variable lifespans
This aborts a LuaJIT trace. Perhaps put a label at the end of a function where the return is performed there? (only affects loops with `while true do` wrapping it)
- [x] [`__wasi_args_get()`](https://github.com/CraneStation/wasmtime/blob/master/docs/WASI-api.md#args_get) - [x] [`__wasi_args_sizes_get()`](https://github.com/CraneStation/wasmtime/blob/master/docs/WASI-api.md#args_sizes_get) - [ ] [`__wasi_clock_res_get()`](https://github.com/CraneStation/wasmtime/blob/master/docs/WASI-api.md#clock_res_get) - [x] [`__wasi_clock_time_get()`](https://github.com/CraneStation/wasmtime/blob/master/docs/WASI-api.md#clock_time_get) - [ ] [`__wasi_environ_get()`](https://github.com/CraneStation/wasmtime/blob/master/docs/WASI-api.md#environ_get) - [ ] [`__wasi_environ_sizes_get()`](https://github.com/CraneStation/wasmtime/blob/master/docs/WASI-api.md#environ_sizes_get) - [ ] [`__wasi_fd_advise()`](https://github.com/CraneStation/wasmtime/blob/master/docs/WASI-api.md#fd_advise) - [ ] [`__wasi_fd_allocate()`](https://github.com/CraneStation/wasmtime/blob/master/docs/WASI-api.md#fd_allocate) -...
# OH MAN OH MAN I `A`M NOT GOOD WITH COMPU`TEr` ``` OH MAN MAN PLZ HELP OH MAN ``` HELP
0xmagic header: `0xB00B1352` (boobies 2) needs to be saved across a bunch of files and needs to be corruption resistant. Ideas?
This means that each block will occupy more than 2 bytes (when we implement this) kind of like damage values to store extra data in blocks??? how do we implement...