Skip to content
forked from fereidani/kanal

Fastest sync and async channel that Rust deserves

License

Notifications You must be signed in to change notification settings

DzenanJupic/kanal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kanal

Fastest sync and async channel that Rust deserves!

What is Kanal

Kanal is a Rust library to help programmers design effective programs in CSP model via providing featureful multi-producer multi-consumer channels. This library focuses on bringing both sync and async API together to unify message passing between sync and async parts of Rust code in a performant manner.

Performance is the main goal of Kanal.

Benchmark Results

Machine: AMD Ryzen Threadripper 2950X 16-Core Processor

Rust: rustc 1.62.0

Go: go version go1.18.3 linux/amd64

July 14 2022

Benchmark codes

Benchmark bounded channel with size 0 Benchmark bounded channel with size 1 Benchmark bounded channel with size n Benchmark unbounded channel

About

Fastest sync and async channel that Rust deserves

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Rust 100.0%