Ben Chuanlong Du's Blog

It is never too late to learn.

Rust Crates for Parallel, Concurrency, Async and Distributed Applications

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

futures

futures is an implementation of futures and streams featuring zero allocations, composability, and iterator-like interfaces. It is a library providing the foundations for asynchronous programming in Rust. It includes key trait definitions like Stream, as well as utilities like join!, select!, and various futures combinator methods which enable expressive asynchronous control flow.

tokio

tokio is an event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications.

rayon

rayon is a data-parallelism library for Rust. It is extremely lightweight and makes it easy to convert a sequential computation into a parallel one. It also guarantees data-race freedom.

https://crates.io/crates/bus A lock-free, bounded, single-producer, multi-consumer, broadcast channel.

Distributed

https://crates.io/crates/zmq High-level bindings to the zeromq library

ockam

https://crates.io/crates/riker Easily build fast, highly concurrent and resilient applications. An Actor Framework for Rust.

Comments