WASI Support in Go

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • go

    The Go programming language

  • Threads are Phase 3

    https://github.com/WebAssembly/proposals

    You can also check out:

    https://webassembly.org/roadmap/

    And for Go, the proposal project on Github has many interesting conversations from the devs.

    And as a reminder to anyone interested in using Go WASM, it’s experimental and does not come with the same compatibility promise as Go itself:

    https://github.com/golang/go/wiki/WebAssembly

  • proposals

    Tracking WebAssembly proposals (by WebAssembly)

  • Threads are Phase 3

    https://github.com/WebAssembly/proposals

    You can also check out:

    https://webassembly.org/roadmap/

    And for Go, the proposal project on Github has many interesting conversations from the devs.

    And as a reminder to anyone interested in using Go WASM, it’s experimental and does not come with the same compatibility promise as Go itself:

    https://github.com/golang/go/wiki/WebAssembly

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • multi-memory

    Multiple per-module memories for Wasm

  • > You can do attacks that most people haven't been able to do for 20+ years.

    This is a bad and roundabout way to say that vulnerabilities in WebAssembly modules may cause a corruption in their linear memory. Which is absolutely true, but those attacks still matter today (not everyone turns ASLR on) and similar defences also apply. In the future multiple memories [1] should make it much easier to guard against remaining issues. WebAssembly is a lucrative target only because it is so widespread, not because it has horrible security (you don't know what the actually horrible security looks like).

    [1] https://github.com/WebAssembly/multi-memory/blob/main/propos...

  • threads

    Threads and Atomics in WebAssembly

  • The answer is: it's complicated. Which is most of the time the answer in the WASI world.

    For this case it's complicated because some runtime supports https://github.com/WebAssembly/threads which mostly contains things like the spec for atomic but not the actual "threads" specs and then some runtimes (i.e wasmtime) also supports https://github.com/WebAssembly/wasi-threads which is one version of the threads. But a new proposal came into play https://github.com/abrown/thread-spawn so ... it's complicated.

  • wasi-threads

  • The answer is: it's complicated. Which is most of the time the answer in the WASI world.

    For this case it's complicated because some runtime supports https://github.com/WebAssembly/threads which mostly contains things like the spec for atomic but not the actual "threads" specs and then some runtimes (i.e wasmtime) also supports https://github.com/WebAssembly/wasi-threads which is one version of the threads. But a new proposal came into play https://github.com/abrown/thread-spawn so ... it's complicated.

  • shared-everything-threads

    A draft proposal for spawning threads in WebAssembly

  • The answer is: it's complicated. Which is most of the time the answer in the WASI world.

    For this case it's complicated because some runtime supports https://github.com/WebAssembly/threads which mostly contains things like the spec for atomic but not the actual "threads" specs and then some runtimes (i.e wasmtime) also supports https://github.com/WebAssembly/wasi-threads which is one version of the threads. But a new proposal came into play https://github.com/abrown/thread-spawn so ... it's complicated.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts