Rust Concurrency

Open-source Rust projects categorized as Concurrency

Top 23 Rust Concurrency Projects

  • rayon

    Rayon: A data parallelism library for Rust

  • Project mention: Rayon: Data-race free parallelization of sequential computations in Rust | news.ycombinator.com | 2024-04-24
  • actix

    Actor framework for Rust.

  • Project mention: Top 10 Rusty Repositories for you to start your Open Source Journey | dev.to | 2023-12-19

    9. Actix

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • yazi

    💥 Blazing fast terminal file manager written in Rust, based on async I/O.

  • Project mention: Use Midnight Commander like a pro (2015) | news.ycombinator.com | 2024-01-21
  • burn

    Burn is a new comprehensive dynamic Deep Learning Framework built using Rust with extreme flexibility, compute efficiency and portability as its primary goals.

  • Project mention: 3 years of fulltime Rust game development, and why we're leaving Rust behind | news.ycombinator.com | 2024-04-26

    You can use libtorch directly via `tch-rs`, and at present I'm porting over to Burn (see https://burn.dev) which appears incredibly promising. My impression is it's in a good place, if of course not close to the ecosystem of Python/C++. At very least I've gotten my nn models training and running without too much difficulty. (I'm moving to Burn for the thread safety - their `Tensor` impl is `Sync` - libtorch doesn't have such a guarantee.)

    Burn has Candle as one of its backends, which I understand is also quite popular.

  • crossbeam

    Tools for concurrent programming in Rust

  • Project mention: Hyperbridge: Fast multi-producer, multi-consumer unbounded channel in Rust | news.ycombinator.com | 2024-02-09

    Crossbeam isn't async[0]. It can multiplex with itself (via the `select!` macro), but not with anything else.

    [0]: https://github.com/crossbeam-rs/crossbeam/issues/896

  • smol

    A small and fast async runtime for Rust

  • Project mention: The State of Async Rust | news.ycombinator.com | 2023-09-25

    My understanding is you always need a runtime, somethings needs to drive the async flow. But there are others on the market, just not without the.. market domination... of tokio.

    https://github.com/smol-rs/smol looks promising simply for being minimal

    https://github.com/bytedance/monoio looks potentially easier to work with than tokio

    https://github.com/DataDog/glommio is built around linux io_uring and seems somewhat promising for performance reasons.

    I haven't played with any of these yet, because Tokio is unfortunately the path of least resistance. And a bit viral in how it's infected tings.

  • joshuto

    ranger-like terminal file manager written in Rust

  • Project mention: Use Midnight Commander like a pro (2015) | news.ycombinator.com | 2024-01-21
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • bastion

    Highly-available Distributed Fault-tolerant Runtime

  • Project mention: Write Elixir NIFs in Rust | news.ycombinator.com | 2023-08-06
  • flume

    A safe and fast multi-producer, multi-consumer channel. (by zesterer)

  • Project mention: Hyperbridge: Fast multi-producer, multi-consumer unbounded channel in Rust | news.ycombinator.com | 2024-02-09

    The repository seems abandoned; or maybe complete?

    At work we use flume, which is another capable multi-producer, multi-consumer async-capable channel [1]. It's great for shuffling data between threads, as well as between async tasks, and between threads and async tasks. Basically any time you want to pieces of code to exchange data or signals without pesky shared state.

    1: https://github.com/zesterer/flume

  • left-right

    A lock-free, read-optimized, concurrency primitive.

  • Project mention: SQLite: Wal2 Mode | news.ycombinator.com | 2024-01-15

    Very similar to the left-right pattern.

    https://github.com/jonhoo/left-right

  • rtic

    Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers

  • Project mention: Is rust used for microchip coding? | /r/rust | 2023-06-27

    There's also RTIC which is another framework that makes concurrency trivial.

  • kanal

    The fast sync and async channel that Rust deserves

  • Project mention: I've incidentally created one of the fastest bounded MPSC queue | /r/rust | 2023-06-26

    How does it compare to kanal?

  • libfringe

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

  • RxRust

    The Reactive Extensions for the Rust Programming Language (by ReactiveX)

  • pen

    The parallel, concurrent, and functional programming language for scalable software development (by pen-lang)

  • coroutine-rs

    Coroutine Library in Rust

  • concread

    Concurrently Readable Data Structures for Rust

  • seize

    Fast, efficient, and robust memory reclamation for Rust.

  • r3bl-open-core

    TUI framework and developer productivity apps in Rust 🦀

  • bonsai

    Rust implementation of AI behavior trees. (by Sollimann)

  • Project mention: Suggestions for Async Behavior Tree Implementation | /r/rust | 2023-08-18

    Was looking at existing StateMachine and BehaviorTree examples recently and I found the following Behavior Tree crates https://github.com/PistonDevelopers/ai_behavior https://github.com/Sollimann/bonsai

  • scalable-concurrent-containers

    High performance containers and utilities for concurrent and asynchronous programming

  • usync

    Small, fast, synchronization primitives

  • leapfrog

    Lock-free concurrent and single-threaded hash map implementations using Leapfrog probing. Currently the highest performance concurrent HashMap in Rust for certain use cases.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

Rust Concurrency related posts

  • Rayon: Data-race free parallelization of sequential computations in Rust

    1 project | news.ycombinator.com | 24 Apr 2024
  • Hyperbridge: Fast multi-producer, multi-consumer unbounded channel in Rust

    4 projects | news.ycombinator.com | 9 Feb 2024
  • SQLite: Wal2 Mode

    1 project | news.ycombinator.com | 15 Jan 2024
  • Which application/problem would you choose for presenting Rust to newcomers in 1h30min?

    1 project | /r/rust | 7 Dec 2023
  • Loole, A safe sync/async multi-producer, multi-consumer channel, Boosted Async Performance Up to 17%

    1 project | /r/rust | 1 Dec 2023
  • What Are The Rust Crates You Use In Almost Every Project That They Are Practically An Extension of The Standard Library?

    4 projects | /r/rust | 22 Nov 2023
  • Why Async Rust?

    3 projects | news.ycombinator.com | 15 Oct 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 18 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

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

Project Stars
1 rayon 10,325
2 actix 8,405
3 yazi 9,023
4 burn 7,223
5 crossbeam 6,868
6 smol 3,439
7 joshuto 3,284
8 bastion 2,759
9 flume 2,185
10 left-right 1,901
11 rtic 1,641
12 kanal 1,260
13 libfringe 495
14 RxRust 488
15 pen 440
16 coroutine-rs 413
17 concread 314
18 seize 307
19 r3bl-open-core 286
20 bonsai 262
21 scalable-concurrent-containers 247
22 usync 230
23 leapfrog 186

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com