|2 months ago||3 days ago|
|Apache License 2.0||Mozilla Public 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.
pub/sub Event bus in rust
7 projects | /r/rust | 10 Oct 2022
Is there any part of the Standard Library that really impresses you?
6 projects | /r/rust | 30 Aug 2022
I also like flume, it has impressive performance (although not the best). More importantly, it's written only with safe rust. https://github.com/zesterer/flume
appreciating fearless concurrency
4 projects | /r/rust | 24 Apr 2022
The most commonly suggested replacement for mspc is crossbeam-channel; flume is also relatively popular.
Rust has a small standard library (and that's ok)
6 projects | /r/rust | 30 Jan 2022
It's not officially deprecated, but the alternatives on crates.io are considered better. flume and crossbeam-channel feature less unsafe code and offer better performance. Benchmarks.
Why are so many important features not in standard library yet?
9 projects | /r/rust | 20 Nov 2021
it's slow (checkout flume's benchmarks for example)
A mini-Erlang/Elixir -- tell me if/why my idea sucks
5 projects | /r/ProgrammingLanguages | 14 Oct 2021
For concurrency/parallelism, you launch at most 2 * CPU Cores, PIN them and use a fast broker to spread the task (like a ring buffer or an MPSC). But you keep linear scan, tight loops, SIMD friendly data, on each. You are not switching context that much, and instead, bet you will process the batch fast. (CPUs are fast today!)
Whats your favourite open source Rust project that needs more recognition?
66 projects | /r/rust | 11 Oct 2021
PlaintDB Serves - another milestone reached
6 projects | dev.to | 14 Apr 2021
First, I was becoming more and more confident that the channel library Daxpedda and I fell in love with, flume, was misbehaving, but I couldn't seem to reproduce it outside of the massive PliantDB codebase. I finally called up Daxpedda on Discord and screen shared my debugging session, showing him how the tests succeeded if I retained a channel. If I allowed the sender to drop after successfully sending, sometimes the tests would fail. He agreed, something was odd. It took me a while, but I finally whittled it down to about 30 lines of code and reported the issue. In an amazingly quick fashion, the maintainer fixed the issue and released an update. And for the record, I still fully love and recommend this library if you're mixing async and non-async code using channels. It's a wonderful implementation.
single-producer single-consumer concurrent queue
5 projects | /r/rust | 29 Mar 2021
Sort of? Here's the closest thing you'll probably find: https://crates.io/crates/flume
Hey Rustaceans! Got an easy question? Ask here (6/2021)!
12 projects | /r/rust | 8 Feb 2021
My first try was with flume, which uses a single producer, multi-consumer setup, and while it compiles and runs, it's magnitudes slower than the serial version. Here's a psuedocode rendition:
Compiling Rust for .NET, using only tea and stubbornness
4 projects | news.ycombinator.com | 29 Aug 2023
Show HN: Pip Imports in Deno
6 projects | news.ycombinator.com | 11 Aug 2023
List of supported languages here https://github.com/metacall/core/blob/develop/docs/README.md...
ffizz: Build a Beautiful C API in Rust
6 projects | dev.to | 20 Jun 2023
The tooling for the first kind -- calling Rust from another language -- is a bit less developed, and tends to rely on code generation that doesn't necessarily produce a natural C API. cbindgen, uniffi, cxx, and Diplomat all take this course.
macOS Apps in Rust
8 projects | news.ycombinator.com | 13 May 2023
Mozilla's uniffi-rs is really good. You write a common IDL and the bindings are generated automatically.
Write SDK “base” in Rust, wrap in other languages?
11 projects | /r/rust | 31 Mar 2023
At Mozilla we built a multi-language bindings generator: https://github.com/mozilla/uniffi-rs/
An experiment in the Rust compiler to begin devising a new cross-language ABI that's higher-level than the C ABI, with the goal of safer and easier FFI
2 projects | /r/rust | 26 Dec 2022
Is there a connection with Mozilla UniFFI ?
Tauri now supports Android/iOS in the 2.0 branch!
3 projects | /r/rust | 9 Dec 2022
Rust <> Swift/ Kotlin works very well with uniffi-rs by Mozilla: https://github.com/mozilla/uniffi-rs
1Password releases Typeshare, the "ultimate tool for synchronizing your type definitions between Rust and other languages for seamless FFI"
14 projects | /r/rust | 22 Nov 2022
Can I Use Rust For IOS Development?
3 projects | /r/rust | 2 Oct 2022
Check out: https://github.com/mozilla/uniffi-rs
Ask HN: Native App Development Stack
2 projects | news.ycombinator.com | 6 Sep 2022
Did a brief search on the rust ffi, seems that mozilla has something interesting shared on the topic https://github.com/mozilla/uniffi-rs and https://blog.mozilla.org/data/2022/01/31/this-week-in-glean-...
What are some alternatives?
flutter_rust_bridge - High-level memory-safe binding generator for Flutter/Dart <-> Rust
PyO3 - Rust bindings for the Python interpreter
cxx - Safe interop between Rust and C++
wasmer-go - 🐹🕸️ WebAssembly runtime for Go
glommio - Glommio is a thread-per-core crate that makes writing highly parallel asynchronous applications in a thread-per-core architecture easier for rustaceans.
buttplug-rs - Rust Implementation of the Buttplug Sex Toy Control Protocol
helix - A post-modern modal text editor.
Iron - An Extensible, Concurrent Web Framework for Rust
gura - Gura configuration language
RG3D - 3D and 2D game engine written in Rust [Moved to: https://github.com/FyroxEngine/Fyrox]
wgpu - Cross-platform, safe, pure-rust graphics api.