slyons / wasmio-2024-demos

Samples for demonstrating WebAssembly Component Model at Wasm I/O 2024

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wasm I/O 2024 - Demos

This repository contains all samples shown as part of my talk about the WebAssembly Component Model held during Wasm I/O 2024 in Barcelona, Spain.

Both of the following samples have dedicated READMEs to outline how one could build & run them.

Extensibility

The extensibility demo illustrates how one could use the WebAssembly Component Model to add extensibility to their own application. By relying on WIT contract, extension developers can use any language - that could be compiled into WebAssembly and packaged as a Wasm Component - and use the canonical ABI provided by the component model.

Composition

The composition demo shows how WebAssembly components can be used to align with the DRY principle. As part of the demo, a WebAssembly Component (HMAC implementation) is being used in a webhook producer (acme-product) which is written in Rust. The same component is used in the webhook consumer (wonka-3rd-party-service) which is written in Python.

About

Samples for demonstrating WebAssembly Component Model at Wasm I/O 2024


Languages

Language:Rust 87.7%Language:Makefile 6.5%Language:Python 5.5%Language:JavaScript 0.3%