Whisk
Simple and fast async channels
Simple and fast async channels that can be used to implement futures, streams,
notifiers, and actors. Whisk is purposely kept small, implemented in under 250
lines of code - and also works on no_std
!
MSRV
Whisk targets Rust 1.60.0 and later.
Benchmarks
Benchmarks for v0.3.0 mpmc call on pasts runtime (compared to dynamic library):
Dynamic library: 6ns
Whisk (2-thread): 6.819µs
Flume (2-thread): 7.036µs
Whisk (1-thread): 165ns
Flume (1-thread): 286ns
These aren't very well done benchmarks, but in my testing whisk is always faster on single threaded and sometimes faster on the multi-threaded benchmark.