A collection of examples and tutorials about WASIp2.
Complementary guide - A Complete Guide to WASIp2 for Rust and Python Programmers
| Host/Guest | Rust Adder ↪ | Python Adder ↪ | Rust KVDatabase ↪ |
|---|---|---|---|
| Rust Host ↪ | ✅↪ | ✅↪ | ✅↪ |
| Python Host ↪ | ✅ | 🛠️ | 🛠️ |
| Command Component (from Rust) | ✅↪ | 📌 | 📌 |
✅: Currently supported
🛠️: Not supported for now, under development of wasmtime-py, see the issue.
📌: TODO and welcome contributions
The Rust command component uses wit-bindgen and cargo build --target wasm32-wasip2, then composes with the Rust adder using wac.
- Resolved ones by me, just FYI:
- Unresolved ones, for those who may be interested in contributing: