SSVM
wasm-bindgen-rayon
DISCONTINUED
Our great sponsors
SSVM | wasm-bindgen-rayon | |
---|---|---|
50 | 7 | |
7,817 | 409 | |
3.7% | - | |
9.8 | 0.0 | |
4 days ago | 2 months ago | |
C++ | 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.
SSVM
-
Time-series data ingestion from Rust WebAssembly application, leveraging GreptimeDB and WasmEdge
WasmEdge GitHub address: https://github.com/WasmEdge/WasmEdge.
-
Run LLMs on my own Mac fast and efficient Only 2 MBs
Mmm…
The wasm-nn that this relies on (https://github.com/WebAssembly/wasi-nn) is a proposal that relies of arbitrary plugin backends sending arbitrarily chunks to some vendor implementation. The api is literally like set input, compute, set output.
…and that is totally non portable.
The reason this works, is because it’s relying on the abstraction already implemented in llama.cpp that allows it to take a gguf model and map it to multiple hardware targets,which you can see has been lifted here: https://github.com/WasmEdge/WasmEdge/tree/master/plugins/was...
So..
> Developers can refer to this project to write their machine learning application in a high-level language using the bindings, compile it to WebAssembly, and run it with a WebAssembly runtime that supports the wasi-nn proposal, such as WasmEdge.
Is total rubbish; no, you can’t.
This isn’t portable.
It’s not sandboxed.
If you have a wasm binary you might be able to run it if the version of the runtime you’re using happens to implement the specific ggml backend you need, which it probably doesn’t… because there’s literally no requirement for it to do so.
There’s a lot of “so portable” talk in this article which really seems misplaced.
-
Requiem for a Stringref
WasmEdge isn't there yet: https://github.com/WasmEdge/WasmEdge/issues/1122#issuecommen...
- Should You Be Scared of Unix Signals?
-
ChatGPT-powered code review bot to boost your PR merge. Deploy in 5 mins
Example 1: Analyze the content and risks of each commit in the PR. Then make a summary. https://github.com/WasmEdge/WasmEdge/pull/2394#issuecomment-...
-
Cloud, Why So Difficult?
There has also been a few "cloud-native" runtimes based on WASM, like WasmEdge but there's a few others (can't remember their names!)...
-
Release: WasmEdge 0.12 and 0.12.1
https://github.com/WasmEdge/WasmEdge/releases/tag/0.12.1
Key features:
* New plugin system makes it easy for community to add features to WasmEdge
-
Flows.network: Add eyes, ears, memory& hands to LLMs with serverless functions
https://github.com/WasmEdge/WasmEdge/pull/2394#issuecomment-...
Reviewing source code files, analyzing risks and summarizing changes. It even suggests code improvements!
- [AskJS] Has anybody implemented and compiled ServiceWorker specification to a standalone executable?
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
- wasm-bindgen-rayon: an adapter for enabling Rayon-based concurrency on the Web with WebAssembly
What are some alternatives?
wasmer - 🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten
wasmtime - A fast and secure runtime for WebAssembly
rust-wasi-tutorial - Rust version of the excellent WASI tutorial https://github.com/CraneStation/wasmtime/blob/master/docs/WASI-tutorial.md
aws-lambda-wasm-runtime - A template project for building high-performance, portable, and safe serverless functions in AWS Lambda.
trunk - Build, bundle & ship your Rust WASM application to the web.
WAVM - WebAssembly Virtual Machine
squoosh - Make images smaller using best-in-class codecs, right in the browser.
dapr-wasm - A template project to demonstrate how to run WebAssembly functions as sidecar microservices in dapr
WasmEdge-go - The GO language SDK and API for WasmEdge
buildah - A tool that facilitates building OCI images.
yomo - 🦖 Stateful Serverless Framework for building Geo-distributed Edge AI Infra