Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thorstenhans/wasmio-2024-demos
Samples for demonstrating WebAssembly Component Model at Wasm I/O 2024
https://github.com/thorstenhans/wasmio-2024-demos
fermyon-spin nodejs python rust spin webassembly webassembly-component-model
Last synced: 7 days ago
JSON representation
Samples for demonstrating WebAssembly Component Model at Wasm I/O 2024
- Host: GitHub
- URL: https://github.com/thorstenhans/wasmio-2024-demos
- Owner: ThorstenHans
- Created: 2024-03-06T21:34:17.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-12T10:58:19.000Z (5 months ago)
- Last Synced: 2024-06-12T15:43:28.198Z (5 months ago)
- Topics: fermyon-spin, nodejs, python, rust, spin, webassembly, webassembly-component-model
- Language: Rust
- Homepage:
- Size: 2.69 MB
- Stars: 14
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://www.youtube.com/watch?v=NFbjQNqWi94).
## Extensibility
The [extensibility](./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](./composition-sample/) 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.