Skip to content

Support WASIX #17115

@syrusakbary

Description

@syrusakbary

Zig currently doesn't support Wasm/WASIX applications.

WASIX is a new standard emerging (as a non-breaking addition) over WASI Preview 1. WASIX adds full support for things like: pthreads, sockets, fork, process spawning and many more things.
See more detailed blogpost for the announcement here: https://wasmer.io/posts/announcing-wasix

And WASIX website: https://wasix.org/

Expected Behavior

Zig supporting WASIX would be huge for the Wasm and Zig communities.

Why?

  • It would let using Zig in many platforms (including the browser)
  • It would allow having a generic - C compiler that compiles C files (using LLVM under the hood) to any architecture, and runnable from any architecture that supports running Wasm
  • It would allow creating http servers (or TCP/UDP ones) to run Zig or C files in the Edge and even the browser

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalThis issue suggests modifications. If it also has the "accepted" label then it is planned.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions