• Stars
    star
    487
  • Rank 87,336 (Top 2 %)
  • Language
    Rust
  • License
    Apache License 2.0
  • Created over 4 years ago
  • Updated 4 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A port of Java's ConcurrentHashMap to Rust

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.

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.

More Repositories

1

left-right

A lock-free, read-optimized, concurrency primitive.
Rust
1,896
star
2

inferno

A Rust port of FlameGraph
Rust
1,507
star
3

fantoccini

A high-level API for programmatically interacting with web pages through WebDriver.
Rust
1,085
star
4

configs

My configuration files
Vim Script
968
star
5

bus

Efficient, lock-free, bounded Rust broadcast channel
Rust
668
star
6

rust-tcp

A learning experience in implementing TCP in Rust
Rust
471
star
7

rust-imap

IMAP client library for Rust
Rust
447
star
8

evmap

A lock-free, eventually consistent, concurrent multi-value map.
Rust
438
star
9

drwmutex

Distributed RWMutex in Go
Go
323
star
10

rustengan

https://fly.io/dist-sys/ in Rust
Rust
255
star
11

rust-ci-conf

Collection of CI configuration files for Rust projects
247
star
12

roget

Wordle Solver inspired by 3blue1brown
Rust
217
star
13

griddle

A HashMap variant that spreads resize load across inserts
Rust
189
star
14

haphazard

Hazard pointers in Rust.
Rust
183
star
15

stream-cancel

A Rust library for interrupting asynchronous streams.
Rust
154
star
16

tsunami

Rust crate for running one-off cloud jobs
Rust
153
star
17

faktory-rs

Rust bindings for Faktory clients and workers
Rust
149
star
18

wewerewondering

wewerewondering.com
Rust
146
star
19

rust-for-rustaceans.com

Source for https://rust-for-rustaceans.com/
CSS
140
star
20

buzz

A simple system tray application for notifying about unseen e-mail
Rust
129
star
21

volley

Volley is a benchmarking tool for measuring the performance of server networking stacks.
C
121
star
22

msql-srv

Bindings for writing a server that can act as MySQL/MariaDB
Rust
116
star
23

proximity-sort

Simple command-line utility for sorting inputs by proximity to a path argument
Rust
111
star
24

stuck

Rust
106
star
25

bustle

A benchmarking harness for concurrent key-value collections
Rust
106
star
26

rust-ibverbs

Bindings for RDMA ibverbs through rdma-core
Rust
106
star
27

atone

A `VecDeque` (and `Vec`) variant that spreads resize load across pushes.
Rust
104
star
28

tracing-timing

Inter-event timing metrics on top of tracing.
Rust
103
star
29

thesis

My PhD thesis (eventually)
TeX
93
star
30

openssh-rs

Scriptable SSH through OpenSSH in Rust
Rust
92
star
31

superimposer

Python
85
star
32

tetris-tutorial

From rags to riches; building Tetris with no programming experience.
JavaScript
78
star
33

async-ssh

High-level Rust library for asynchronous SSH connections
Rust
74
star
34

codecrafters-bittorrent-rust

Rust
73
star
35

pthread_pool

A simple implementation of thread pooling for C/C++ using POSIX threads
C
71
star
36

orst

Sorting algorithms in Rust
Rust
71
star
37

arrav

A sentinel-based, heapless, `Vec`-like type.
Rust
68
star
38

streamsh

Download online video streams using shell
Shell
67
star
39

trawler

Workload generator that emulates the traffic pattern of lobste.rs
Rust
65
star
40

sento

A lock-free, append-only atomic pool.
Rust
64
star
41

cucache

Fast PUT/GET/DELETE in-memory key-value store for lookaside caching
Go
63
star
42

hashbag

An unordered multiset/bag implementation backed by HashMap
Rust
63
star
43

async-bincode

Asynchronous access to a bincode-encoded item stream.
Rust
62
star
44

wp2ghost

Convert WordPress XML exports to Ghost JSON import files
JavaScript
58
star
45

vast-vmap

JavaScript library for IAB VAST + VMAP
JavaScript
56
star
46

codecrafters-git-rust

Rust
55
star
47

vote.rs

Simple website for doing multi-round ranked choice voting
Rust
51
star
48

tokio-io-pool

An I/O-oriented tokio runtime thread pool
Rust
48
star
49

hurdles

Rust library providing a counter-based thread barrier
Rust
46
star
50

ordsearch

A Rust data structure for efficient lower-bound lookups
Rust
42
star
51

arccstr

Thread-safe, reference-counted null-terminated immutable Rust strings.
Rust
41
star
52

curb

Run a process on a particular subset of the available hardware.
Rust
35
star
53

cliff

Find the load at which a benchmark falls over.
Rust
35
star
54

shortcut

Rust crate providing an indexed, queryable column-based storage system
Rust
30
star
55

hasmail

Simple tray icon for detecting new email on IMAP servers
Go
29
star
56

bystander

Rust
29
star
57

ornithology

A tool that parses your Twitter archive and highlights interesting data from it.
Rust
28
star
58

rust-zipf

Rust implementation of a fast, bounded, Zipf-distributed random number generator
Rust
26
star
59

minion

Rust crate for managing cancellable services
Rust
24
star
60

icebreaker

Web app that allows students to ask real-time, anonymous questions during class
Go
23
star
61

mktrayicon

Create system tray icons by writing to a pipe
C
22
star
62

cargo-index-transit

A package for common types for Cargo index interactions, and conversion between them.
Rust
22
star
63

streamunordered

A version for futures::stream::FuturesUnordered that multiplexes Streams
Rust
22
star
64

thesquareplanet.com

My homepage
HTML
20
star
65

gladia-captions

Rust
20
star
66

PHP-Browser

A PHP class to allow scripts to access online resources hidden behind login-forms and other user-interaction measures
PHP
19
star
67

keybase-chat-notifier

Simple desktop notifier for keybase chat
Rust
19
star
68

rust-basic-hashmap

Let's build a HashMap
Rust
19
star
69

tokio-byteorder

Asynchronous adapter for byteorder
Rust
19
star
70

python-agenda

Python module for pretty task logging
Python
18
star
71

async-lease

An asynchronous leased value
Rust
16
star
72

tally

time's prettier cousin
Rust
15
star
73

strawpoll

Rust
15
star
74

obs-do

CLI for common OBS operations while streaming using WebSocket
Rust
15
star
75

async-option

Asynchronous Arc<Mutex<Option<T>>>
Rust
14
star
76

tokio-os-timer

Timer facilities for Tokio based on OS-level primitives.
Rust
14
star
77

indexmap-amortized

bluss/IndexMap with amortized resizes
Rust
14
star
78

cloud-arch

Script for generating Arch Linux cloud images
Shell
13
star
79

cryptsetup-gui

Simple GUI for unlocking cryptsetup volumes
C
13
star
80

guardian

Owned mutex guards for refcounted mutexes.
Rust
12
star
81

rust-at-sunrise

Tool for posting daily updates on the latest available Rust Nightly
Rust
11
star
82

yambar-hyprland-wses

Rust
11
star
83

experiment

A tool for running concurrent multi-configuration experiments.
Ruby
11
star
84

mio-pool

A pool of workers operating on a single set of mio connections
Rust
10
star
85

rust-agenda

Simple, pretty CLI progress tracker
Rust
10
star
86

songtext

Simple bash script for retrieving song lyrics.
Shell
10
star
87

skyline

Various implementations of tower::Service
Rust
9
star
88

hanabot

Hanabi Slack bot
Rust
8
star
89

cleaver

Data-flow distribution analyzer
Rust
8
star
90

repackage

A terrible and nerve-inducing tool to rename a crate in a .crate file
Rust
7
star
91

simio

I/O Automata Simulator
Python
7
star
92

cargo-http-bench

Benchmarking suite for Cargo's experimental HTTP registry implementation
Shell
7
star
93

go-iprof

Simple go library for concurrent instrumented profiling.
Go
7
star
94

incomplete

Provides incomplete!(), a compile-time checked version of Rust's unimplemented!() macro
Rust
7
star
95

rucache

Fast PUT/GET/DELETE in-memory key-value store for lookaside caching -- Rust prototype
Rust
6
star
96

ff-jump-to-tab

A (subjectively) better Ctrl+# experience for Firefox
JavaScript
6
star
97

snavi

Sane navigation enhancement with Javascript
JavaScript
6
star
98

bgg-ratings

Rust
6
star
99

throttled-reader

An io::Read proxy that limits calls to read()
Rust
5
star
100

su-extract

Extract all your liked URLs from StumbleUpon
Rust
5
star