Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusion about browser support #30

Open
surban opened this issue May 31, 2023 · 0 comments
Open

Confusion about browser support #30

surban opened this issue May 31, 2023 · 0 comments

Comments

@surban
Copy link

surban commented May 31, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant