You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see WebAssembly runtime description of marine in document, but I am not sure if I understand correctly that WebAssembly runtime is a WASM virtual machine or other someting?
The text was updated successfully, but these errors were encountered:
Actually, it's a good and a bit definitions-centric topic. Let's first define what runtime and virtual machine(VM) stand for. Quoting this reddit topic (that I personally agree on):
A runtime environment is simply all the resources needed to support running the program. This means shared libraries, processes, VMs, whatever put together allows the program to be run on the machine.
A VM is a fictional machine, essentially. It behaves like an actual machine, in the sense that you can provide instructions for it separately from source languages.
And from this perspective, Marine behaves like a runtime, meaning that it's not just execute Wasm modules, but provide environment including:
host imports (WASI and mounted binary interface intended for calling external CLI binaries),
environment folders for services (local and tmp),
environment variables accessible during module execution,
transparent mechanism for shared-nothing modules linking,
support of logging mechanism
and other minor resources and support
Moreover, Wasmer (we're using it for Wasm compilation and execution) and Wasmtime claim to be runtime itself (according to readme on their main repos).
Hope I answered your Q, if not please do not hesitate to ask more.
I see
WebAssembly runtime
description of marine in document, but I am not sure if I understand correctly thatWebAssembly runtime
is a WASM virtual machine or other someting?The text was updated successfully, but these errors were encountered: