Crates.io | takeaway |
lib.rs | takeaway |
version | 0.1.0 |
created_at | 2025-07-06 21:26:55.539665+00 |
updated_at | 2025-08-11 07:53:41.026105+00 |
description | An efficient work-stealing task queue with prioritization and batching. |
homepage | https://git.sr.ht/~bal-e/takeaway |
repository | https://git.sr.ht/~bal-e/takeaway |
max_upload_size | |
id | 1740456 |
size | 360,162 |
takeaway
: High-performance task queuestakeaway
is a Rust library providing a high-performance, work-stealing task
queue data structure. It is perfect for task architectures where:
takeaway
tries to provide the lowest overhead possible. It is designed from
the ground up to process everything in batches; this amortizes synchronization
costs and makes way for interesting features like task prioritization.
crossbeam-deque
is a popular Rust crate which also provides work-stealing
task queues. However, takeaway
provides a higher-level API with more features
and comparable (if not better) performance.
takeaway
currently uses the krabby
mailing lists. Feel free to reach me
on IRC (bal-e
on Libera.Chat) or the krabby-discuss
mailing list. Use
[krabby-devel
] for discussing takeaway
or sending in patches. You can track
the progress on internal TODO items on the krabby
ticket tracker.
takeaway
was developed for krabby
, an experimental Rust compiler, due to
the feature limitations of crossbeam-deque
. It is offered as a standalone
crate in the hope that it may prove useful for other highly-parallel and
CPU-intensive applications.
Copyright (C) 2025 arya dradjica (uhe8ob7m71igsl1d@bal-e.org)
takeaway
is available under the MIT or Apache-2.0 licenses, at your option.
Their terms are available in LICENSES/MIT.txt
and LICENSES/Apache-2.0.txt
respectively.
In addition, some code from crossbeam-utils
has been vendored in, under the
MIT or Apache-2.0 licenses. See REUSE.toml
.