jonhoo/flurry

A port of Java's ConcurrentHashMap to Rust

Rust

580

447 commits

updated Apr 6, 2026

See the code

README

Crates.io Documentation Codecov Dependency status

A port of Java's java.util.concurrent.ConcurrentHashMap to Rust.

The port is based on the public domain source file from JSR166 as of CVS revision 1.323, and is jointly licensed under MIT and Apache 2.0 to match the Rust API guidelines. The Java source files are included under the jsr166/ subdirectory for easy reference.

The port was developed as part of a series of live coding streams kicked off by this tweet.

Better Alternatives

Flurry currently suffers performance and memory usage issues under load. You may wish to consider papaya or dashmap as alternatives if this is important to you.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

jonhoo/flurry

A port of Java's ConcurrentHashMap to Rust

Rust

580

447 commits

updated Apr 6, 2026

See the code

README

Crates.io Documentation Codecov Dependency status

A port of Java's java.util.concurrent.ConcurrentHashMap to Rust.

The port is based on the public domain source file from JSR166 as of CVS revision 1.323, and is jointly licensed under MIT and Apache 2.0 to match the Rust API guidelines. The Java source files are included under the jsr166/ subdirectory for easy reference.

The port was developed as part of a series of live coding streams kicked off by this tweet.

Better Alternatives

Flurry currently suffers performance and memory usage issues under load. You may wish to consider papaya or dashmap as alternatives if this is important to you.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Project health

Overall

4.7/10

Maintained

0/10

Code review

4/10
OpenSSF Scorecard

crates.io

Latest release

0.5.2 · Nov 19, 2024

Releases this year

0

Significant stargazers

(top 24 of 30)

waffle

487 followers · starred Jul 2021

XAMPPRocky

802 followers · starred Nov 2022

Bryant Biggs

654 followers · starred Nov 2023

Marko

332 followers · starred Jan 2020