Confusion about browser support
Opened this issue · 0 comments
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!