From c0d2824b647d1f8949816d1613ee31e0d0e3e713 Mon Sep 17 00:00:00 2001 From: "Elf M. Sternberg" Date: Wed, 5 Apr 2023 13:38:12 -0700 Subject: [PATCH] Added a README. --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..479bec6 --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +# Practicing Rust and WebAssembly + +If you've stumbled on this repository, welcome! It's just not a code library or +anything, just a collection of small toy programs that I've either copied or +implemented to understand better how Rust and Web Assembly work. If you find it +useful, feel free to look around, but don't expect any eye-opening miracles. +It's just some code. + +## rust-wasi-markdown + +[rust-wasi-markdown](./rust-wasi-markdown) was the first thing implemented. It +demonstrates how a Wasmtime Engine is instantiated, how a Module is loaded, how +a Store is created, how an Import is created so that host functions can be +called from inside a running module, how an Instance takes the Module, Store, +and Import and creates a running instance, how functions from that Instance can +be located, and once located how they can be run. + +Which is, what, 80% of eveything you need, right? Pareto principle and all that. + +