GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    mcc (mcc@mastodon.social)'s status on Wednesday, 04-Jun-2025 11:26:40 JSTmccmcc

    Wasm question

    I was given https://hachyderm.io/@unlambda/114582671790895240 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 https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md seems to suggest this is deprecated. How were the functions in wasi_snapshot_preview1 chosen? Is there a wasi_snapshot_preview2 or whatever?

    In conversationabout 6 days ago from mastodon.socialpermalink

    Attachments

    1. No result found on File_thumbnail lookup.
      Brian Campbell (@unlambda@hachyderm.io)
      from Brian Campbell
      @mcc@mastodon.social @whitequark@mastodon.social @tedmielczarek@mastodon.social I think this is the example you're looking for: https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-tutorial.md#web-assembly-text-example
    2. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
      WASI/legacy/preview1/docs.md at main · WebAssembly/WASI
      WebAssembly System Interface. Contribute to WebAssembly/WASI development by creating an account on GitHub.
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.