Stream: git-wasmtime

Topic: wasmtime / issue #6781 Question


view this post on Zulip Wasmtime GitHub notifications bot (Jul 27 2023 at 15:03):

Xyncgas opened issue #6781:

What's the purpose for webassembly out side of the browser, there's other platform that runs intermediate codes on various platforms already

view this post on Zulip Wasmtime GitHub notifications bot (Jul 27 2023 at 15:22):

bjorn3 commented on issue #6781:

Fastly and Cloudflare use Webassembly for computing at the edge to avoid requiring a heavy-weight VM. I believe there are also some npm libraries which wrap a wasm module to avoid having to recompile their C/C++ or Rust code for every architecture and OS.

As for why Webassembly instead of the JVM or .NET. The JVM is not suitable as compilation target for non-Java like languages and requires a GC. And .NET is much more tied to microsoft and only runs on a couple of architectures. Neither is suitable for sandboxing due to their complexity. They both tried and eventually gave up. Webassembly is sandboxed by default.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 28 2023 at 05:06):

Xyncgas commented on issue #6781:

Almost as if it's a tiny container for programs to run with fine controls of permissions and nano-process memory isolation.

I am excited :
Maybe we can rebrand 'webassembly' to 'container', there's nothing wrong to such a generic name

  1. Because it's a open project
  2. it works
  3. Container contains IL ('webassembly'), compilers target container, container running everywhere

Why are we using docker when there is a more efficient container technology which is seemingly what's developed by webassembly

view this post on Zulip Wasmtime GitHub notifications bot (Jul 28 2023 at 05:06):

Xyncgas closed issue #6781:

What's the purpose for webassembly out side of the browser, there's other platform that runs intermediate codes on various platforms already

view this post on Zulip Wasmtime GitHub notifications bot (Jul 28 2023 at 08:18):

bjorn3 commented on issue #6781:

Fun thing you mention Docker. It's founder once said on twitter: "If WASM+WASI existed in 2008, we would not have needed to create Docker."


Last updated: Dec 23 2024 at 13:07 UTC