Just some things I'm studying with respect to RUST and WASM.
Go to file
Elf M. Sternberg c0d2824b64 Added a README. 2023-04-05 13:38:12 -07:00
rust-wasi-markdown An example of running wasmtime as a host, with callbacks. 2023-04-05 13:31:56 -07:00
.gitignore An example of running wasmtime as a host, with callbacks. 2023-04-05 13:31:56 -07:00
README.md Added a README. 2023-04-05 13:38:12 -07:00

README.md

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 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.