Skip to content

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

Notifications You must be signed in to change notification settings

ThorstenHans/wasmio-2024-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

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.

You can find the recording of the talk on YouTube here: https://www.youtube.com/watch?v=NFbjQNqWi94.

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.