Skip to content

Demo of shared-everything linking using the WebAssembly Component Model

Notifications You must be signed in to change notification settings

dicej/component-linking-demo

Repository files navigation

component-linking-demo

This is an experiment in implementing shared-everything linking using the WebAssembly component model proposal. It uses a modified version of wasi-sdk and wasm-tools.

Building

Prerequisites:

  • A UNIX-style OS, e.g. Linux, WSL2 or MacOS
  • Rust (including the wasm32-unknown-unknown target)
  • CMake
  • Clang
  • Ninja
  • CPython build dependencies

Note that the make step will take quite a while the first time you run it since it needs to build LLVM, wasi-libc, CPython, Wasmtime, wit-bindgen, and wasm-tools. Subsequent builds should be quite fast, though.

git submodule update --init --recursive
make

About

Demo of shared-everything linking using the WebAssembly Component Model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published