Rust Concurrency

Open-source Rust projects categorized as Concurrency | Edit details

Top 14 Rust Concurrency Projects

  • GitHub repo yew

    Rust / Wasm framework for building client web apps

    Project 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 [1] 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 [2]; I parsed the text version to generate a serialized version (separate library: [3]) 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 [4] as a bundler (also used for development).

    You can find the source code of the app on GitHub [5]. Please tell me what you think of it! ;)

    [1] https://yew.rs/

  • GitHub repo actix

    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

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo rayon

    Rayon: A data parallelism library for Rust

    Project 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.

  • GitHub repo crossbeam

    Tools for concurrent programming in Rust

    Project 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

  • GitHub repo bastion

    Highly-available Distributed Fault-tolerant Runtime

    Project 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.

  • GitHub repo smol

    A small and fast async runtime for Rust

    Project 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

  • GitHub repo flume

    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

    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.

  • GitHub repo joshuto

    ranger-like terminal file manager written in Rust

    Project 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..

  • GitHub repo libfringe

    a Rust library implementing safe, lightweight context switches, without relying on kernel services

  • GitHub repo RxRust

    The Reactive Extensions for the Rust Programming Language

    Project mention: What sort of mature, open-source libraries do you feel Rust should have but currently lacks? | reddit.com/r/rust | 2021-11-01
  • GitHub repo coroutine-rs

    Coroutine Library in Rust

  • GitHub repo concread

    Concurrently Readable Data Structures for Rust

    Project 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.

  • GitHub repo Bus Writer

    Single-reader, multi-writer & single-reader, multi-verifier; broadcasts reads to multiple writeable destinations in parallel

  • GitHub repo atomicbox

    Safe atomic Box types for Rust

    Project 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)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-11-26.

Rust Concurrency related posts

Index

What are some of the best open-source Concurrency projects in Rust? This list will help you:

Project Stars
1 yew 17,922
2 actix 6,735
3 rayon 5,857
4 crossbeam 4,137
5 bastion 2,317
6 smol 2,177
7 flume 1,134
8 joshuto 570
9 libfringe 464
10 RxRust 444
11 coroutine-rs 383
12 concread 190
13 Bus Writer 25
14 atomicbox 15
Find remote jobs at our new job board 99remotejobs.com. There are 33 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com