Top 14 Rust Concurrency Projects
Rust / Wasm framework for building client web appsProject mention: Show HN: Lifeee – Conway’s Game of Life with an infinite zoomable grid | news.ycombinator.com | 2021-11-12
Hi all! Here is the latest Rust side project I’ve been working on for the past couple of weeks: Lifeee, an implementation of John Conway’s Game of Life.
It was the opportunity for me to continue my Rust learning journey, and I think I’m finally starting to feel a bit comfortable with the language, especially ownership :). I also wanted to discover what was possible when using Rust for frontend development, and I must say I was so impressed by Yew! I didn’t think it would be so nice to use, especially since I have quite some experience with React.
A big difference compared to the various implementations you can find (often in Rust and Yew tutorials) is that the grid is infinite. This means that you can drag it to move in all directions, but also zoom in and out. This was probably the most challenging part of my project and involved a lot of calculus and doodles in my notebook! Also, since I used a canvas to draw the grid (and not DOM elements), the simulation is pretty fast even when a lot of cells are displayed :D
What I learned during this project:
- Use Yew  for frontend development: not very different from writing React components, with the advantages of Rust as a plus!
- Serialize/deserialize data: the available Game of Life patterns are extracted from the official Lexicon ; I parsed the text version to generate a serialized version (separate library: ) that I then import and deserialize in the app.
- Build the web app using GitHub actions and deploy it using Netlify: pretty straightforward using Trunk  as a bundler (also used for development).
You can find the source code of the app on GitHub . Please tell me what you think of it! ;)
Actor framework for Rust.Project mention: Actix Actor Framework v0.11 has been released | reddit.com/r/rust | 2021-03-21
Check out the change log: https://github.com/actix/actix/blob/master/actix/CHANGES.md
Run Linux Software Faster and Safer than Linux with Unikernels.
Rayon: A data parallelism library for RustProject mention: Is there an inverse to the Iterator trait? | reddit.com/r/rust | 2021-11-18
From what you said in the other post, it sounds like something that would work using iterators. You don't necessarily need to be pushing into a sink. Have you looked at Rayon? Seems like you could just stream your items through Rayon iterators and get it parallelized with very little extra effort.
Tools for concurrent programming in RustProject mention: Should I use the smallest integer type possible? | reddit.com/r/rust | 2021-11-26
And crossbeam for other archs on the same topic: https://github.com/crossbeam-rs/crossbeam/pull/636
Highly-available Distributed Fault-tolerant RuntimeProject mention: Async feedback from 2 years of usage | reddit.com/r/rust | 2021-11-13
But the issue you're referring to, building a fault-tolerant web server where you can have granular control over killing background jobs regardless if they're blocked on a syscall, totally requires using this kind of software architecture. See Bastion.
A small and fast async runtime for RustProject mention: Async feedback from 2 years of usage | reddit.com/r/rust | 2021-11-13
No, still active on GitHub. What gave you that idea? https://github.com/smol-rs/smol
A safe and fast multi-producer, multi-consumer channel. (by zesterer)Project mention: Why are so many important features not in standard library yet? | reddit.com/r/rust | 2021-11-20
it's slow (checkout flume's benchmarks for example)
Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
ranger-like terminal file manager written in RustProject mention: Which file manager do you use and why? | reddit.com/r/archlinux | 2021-10-04
There is joshuto, written in Rust. Not sure if it is fully there yet..
a Rust library implementing safe, lightweight context switches, without relying on kernel services
The Reactive Extensions for the Rust Programming LanguageProject mention: What sort of mature, open-source libraries do you feel Rust should have but currently lacks? | reddit.com/r/rust | 2021-11-01
Coroutine Library in Rust
Concurrently Readable Data Structures for RustProject mention: Whats your favourite open source Rust project that needs more recognition? | reddit.com/r/rust | 2021-10-11
Kanidm, it might not sound as fun or exciting but this sound engineering driven by exceptional people. Similarly, concread.
Single-reader, multi-writer & single-reader, multi-verifier; broadcasts reads to multiple writeable destinations in parallel
Safe atomic Box types for RustProject mention: single-producer single-consumer concurrent queue | reddit.com/r/rust | 2021-03-29
Atomicbox uses unsafe / AtomicPtr under the hood. https://github.com/jorendorff/atomicbox/blob/master/src/atomic_box.rs#L113 (as an example)
Rust Concurrency related posts
Should I use the smallest integer type possible?
1 project | reddit.com/r/rust | 26 Nov 2021
Why are so many important features not in standard library yet?
9 projects | reddit.com/r/rust | 20 Nov 2021
Is there an inverse to the Iterator trait?
1 project | reddit.com/r/rust | 18 Nov 2021
Async feedback from 2 years of usage
2 projects | reddit.com/r/rust | 13 Nov 2021
Use `.skip()` on a `rayon::iter::Flatten`
1 project | reddit.com/r/rust | 7 Nov 2021
Request-response communication between threads?
1 project | reddit.com/r/rust | 20 Oct 2021
A mini-Erlang/Elixir -- tell me if/why my idea sucks
5 projects | reddit.com/r/ProgrammingLanguages | 14 Oct 2021
What are some of the best open-source Concurrency projects in Rust? This list will help you:
Are you hiring? Post a new remote job listing for free.