Wasm question

I was given hachyderm.io/@unlambda/1145826 as some example code for printing to stdout from inside wasmtime/WASI

It calls a function named "fd_write" taken from "wasi_snapshot_preview1"

"wasi_snapshot_preview1" does not Google well and one link github.com/WebAssembly/WASI/bl seems to suggest this is deprecated. How were the functions in wasi_snapshot_preview1 chosen? Is there a wasi_snapshot_preview2 or whatever?

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/mcc/statuses/114622711519220585 on your instance and quote it. (Note that quoting is not supported in Mastodon.)