3 ms·
> If one writes Go or Rust, there are much better ways to run them than targeting WASM wasm has its place, especially for contained workloads that can be wrapp
by ignoramous 4y ago
> If one writes Go or Rust, there are much better ways to run them than targeting WASM
wasm has its place, especially for contained workloads that can be wrapped in strict capability boundaries compile-time (think, file-encoding jobs that shouldn't access anything else but said files: https://news.ycombinator.com/item?id=29112713 https://news.ycombinator.com/item?id=29112713).
> Containers are still the defacto standard.
afa FaaS is concerned, wasmedge [0], atmo [1], tarmac [2], krustlet [3], blueboat [4] and numerous other projects are turning up the heat [5]!
[0] https://github.com/WasmEdge/WasmEdge https://github.com/WasmEdge/WasmEdge
[1] https://github.com/suborbital/atmo https://github.com/suborbital/atmo
[2] https://github.com/madflojo/tarmac https://github.com/madflojo/tarmac
[3] https://github.com/krustlet/krustlet https://github.com/krustlet/krustlet
[4] https://github.com/losfair/blueboat https://github.com/losfair/blueboat
[5] https://news.ycombinator.com/item?id=30155295 https://news.ycombinator.com/item?id=30155295
- verdverm 4y agoWASM could be nice if you do not control the running environment (browser), once it matures more. I don't see the benefit of adding the v8 runtime as a layer for anything that is not native to it. More abstraction and complexity gives rise to concern
- afiori 4y agoThere 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