3 ms·
How "web-specific" is WebAssembly? This all sounds like an enticing feature set a general-purpose VM for writing desktop and server applications, not just makin
by nerdponx 6y ago
How "web-specific" is WebAssembly? This all sounds like an enticing feature set a general-purpose VM for writing desktop and server applications, not just making fancy stuff in a web browser. Is there any chance we'll see something like Node-but-it's-Wasm at some point?
- ghayes 6y agoAs far as I've seen, not very web specific at all. Everything that you might fear being included is actually linked in and is not part of the VM at all (e.g. all Web APIs).
- tmarsden 6y agoAbsolutely, check out WASI (Webassembly system interface) https://wasi.dev/ https://wasi.dev/ “...provides access to several operating-system-like features, including files and filesystems, Berkeley sockets, clocks, and random numbers, that we'll be proposing for standardization. It's designed to be independent of browsers, so it doesn't depend on Web APIs or JS, and isn't limited by the need to be compatible with JS.”
- vinkelhake 6y agoBoth node and deno can run Wasm. Also see WASI that the sibling mentioned.
- ampdepolymerase 6y agoSome of the data layouts are optimized for web compatibility rather than (purely) ease of hardware implementation.
- outside2344 6y agoIts not web specific. For example, there are projects to run WebAssembly instead of containers on Kubernetes: https://krustlet.dev/ https://krustlet.dev/
- dane-pgp 6y agoMaybe in a few years, WASM is going to be retconned or backronymed to "World Assembly".