Skip to content

Confusion about browser support #30

@surban

Description

@surban

Hi.

I have some confusion about what WASIX is for and if it can be useful to me.

On the WASIX homepage you write

WASIX comes into play to bridge these gaps. It extends WASI with most of the missing POSIX features and is designed to run both in the server and the browser. WASIX provides full support for efficient multithreading, sockets (socket, bind, connect), [...]

But then, later on, under Rust Wasix usage you state

Currenly, Wasix is only supported by the Wasmer runtime. So, you need to install the Wasmer (opens in a new tab) runtime.

Could you clarify how I would be compiling Rust code so that I can run it in a browser (modern Firefox, Chrome, Edge) and have full support for threads using std::thread::spawn and synchronization primitives from std::sync? All examples I found show how to compile and locally run Rust code on my machine via WASIX.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions