3 ms·
There are interesting plans to speed up [the cold start latency of] V8 by compiling it to wasm[0] AFAIU the main point is that for wasm you can condense startu
by afiori 4y ago
There are interesting plans to speed up [the cold start latency of] V8 by compiling it to wasm[0]
AFAIU the main point is that for wasm you can condense startup to a mmap operation and that you can "freeze" a running wasm process (essentially by dumping the memory/stacks to a new wasm module. In [0] they use [1] to do this.
[0] https://bytecodealliance.org/articles/making-javascript-run-fast-on-webassembly https://bytecodealliance.org/articles/making-javascript-run-...
[1] https://github.com/bytecodealliance/wizer https://github.com/bytecodealliance/wizer