wasm-bindgen-rayon
flutter_rust_bridge
Our great sponsors
wasm-bindgen-rayon | flutter_rust_bridge | |
---|---|---|
7 | 52 | |
409 | 3,552 | |
- | - | |
0.0 | 10.0 | |
3 months ago | 6 days ago | |
JavaScript | Dart | |
Apache License 2.0 | MIT License |
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
-
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
flutter_rust_bridge
-
flutter_rust_bridge VS rinf - a user suggested alternative
2 projects | 17 Jan 2024
-
plugin system for a flutter app
Use some sort of executable file, like webassembly. I've seen extism which is really cool. Though theres no dart port for it or a dart package, i think something could be done via flutter_rust_brige. This will allow people to use the languages supported via extism (js, go, rust, zig, cpp etc) to their full potential and have the language's ecosystem available and they can just compile the plugin to a wasm file and use it in the app. Downsides would be ig using that rust package in dart since flutter_rust_bridge does have some amount of complexity. And that for example, two plugins both written in say for example js, depend on some sort of http package, and both plugins load the same package twice in their respective wasm files. ig plugin files would be more larger in the end.
-
Show HN: Slint - A Declarative UI Toolkit Written in Rust for Embedded & Desktop
Not a Flutter Dev, but have you tried 'flutter_rust_bridge' [0]. Seems provide some interop between flutter and rust and looks like a popular and active project. I'm native mobile dev and just curious about this kind of interop myself. If it's seamless then looks like good balance to do mobile front-end in flutter and mobile backend in rust.
[0] https://github.com/fzyzcjy/flutter_rust_bridge
-
`flutter-rust-app-template`: This template provides instant capabilities to developers who want to embrace the power of Rust and Flutter together.
This template is primarily built using the flutter_rust_bridge library. It also incorporates several popular packages and modifications into the default Flutter template, ensuring optimal development process. It has been designed with future scalability and performance in mind.
-
Anybody doing multithreading wasm controlled by rust?
If you want example code, the flutter_rust_bridge uses a webworker pool with shared memory on the web to multithread the execution.
-
I need a GUI framework that can do the following!
There's also the thing that flutter_rust_bridge is currently broken for web development. I have a PR open, but it's running into weird issues with the CI and so can't be merged.
- Flutter oder React Native für Appentwicklung?
-
Is it possible to build a gui which is both cross compatible and native?
For reference, https://github.com/fzyzcjy/flutter_rust_bridge. And dart is a really nice language too, my only real gripe is that I'm no longer used to [type] [variable] over [variable]: [type]
-
Slint 1.0: The Next-Generation Native GUI Toolkit Matures
https://github.com/fzyzcjy/flutter_rust_bridge (Fixed your href)
-
I’m working on a prototype for a tool that visualizes intra-project dependencies between the source files of a Dart project.
It appears that this is indeed what was happening. The issue has now been fixed in the template.
What are some alternatives?
rust-wasi-tutorial - Rust version of the excellent WASI tutorial https://github.com/CraneStation/wasmtime/blob/master/docs/WASI-tutorial.md
uniffi-rs - a multi-language bindings generator for rust
trunk - Build, bundle & ship your Rust WASM application to the web.
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
wasmer - 🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten
bevy - A refreshingly simple data-driven game engine built in Rust
squoosh - Make images smaller using best-in-class codecs, right in the browser.
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
book - The Rust and WebAssembly Book
cbindgen - A project for generating C bindings from Rust code
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.
iced - A cross-platform GUI library for Rust, inspired by Elm