wasm-bindgen-rayon
wasm-bindgen-rayon
wasm-bindgen-rayon | wasm-bindgen-rayon | |
---|---|---|
1 | 7 | |
0 | 409 | |
- | - | |
1.8 | 0.0 | |
almost 3 years ago | 4 months ago | |
JavaScript | JavaScript | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wasm-bindgen-rayon
wasm-bindgen-rayon
-
Anybody doing multithreading wasm controlled by rust?
This crate may be of interest to you
-
GitHub - google/forma: An efficient vector-graphics renderer
The problem is rayon. There an experimental implementation for the web here, but it has to be explicitly used by the code, as far as I know.
-
pcisph-wasm: real-time fluid simulation in the browser using Rust, WebAssembly threads, and WebGL
Thanks! Agreed--this project was possible thanks to the excellent wasm-bindgen-rayon crate which was recently released.
-
What's the state of Rust and WebAssembly?
I would recommend reading RReverser's articles on multithreading online. We used https://github.com/GoogleChromeLabs/wasm-bindgen-rayon and ended up forking it due to chromium issues with nested web workers.
-
What is the current state of porting a Rust project to WASM ?
you can use rayon with your wasm-project with this crate now. https://github.com/GoogleChromeLabs/wasm-bindgen-rayon
- Show HN: An adapter for using Rust and Rayon with WebAssembly threads
- wasm-bindgen-rayon: an adapter for enabling Rayon-based concurrency on the Web with WebAssembly
What are some alternatives?
book - The Rust and WebAssembly Book
rust-wasi-tutorial - Rust version of the excellent WASI tutorial https://github.com/CraneStation/wasmtime/blob/master/docs/WASI-tutorial.md
trunk - Build, bundle & ship your Rust WASM application to the web.
wasmer - 🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten
wasmtime - A fast and secure runtime for WebAssembly
squoosh - Make images smaller using best-in-class codecs, right in the browser.
SSVM - WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.
cosmic-text - Pure Rust multi-line text handling