Skip to content

leon-thomm/wasm-components-example

 
 

Repository files navigation

Wasm components example

This repository contains an example of a WebAssembly interface, implemented in Rust as a WebAssembly component, then consumed from other Rust and C++ components.

It is a showcase of the wit-bindgen tooling from the Bytecode Alliance.

Building, linking, and executing

# building the implementation
$ cd rust-wasi-impl && make build

# building, linking, and running the C++ example
$ cd cpp-consumer && make bindgen build link run

# building, linking, and running the Rust example
$ cd rust-consumer && make build link run

Prerequisites

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 65.7%
  • C 24.5%
  • Makefile 6.6%
  • C++ 3.2%