librseq
flurry
librseq | flurry | |
---|---|---|
2 | 4 | |
63 | 486 | |
- | - | |
9.5 | 7.2 | |
20 days ago | 12 days ago | |
C | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
librseq
-
Cache invalidation really is one of the hardest problems in computer science
For Linux userspace rseq, see the standalone library and the GLIBC integration. Note that there's the major downside of a fallback being mandatory, and also the downside of the compiler being ignorant, unlike kernel or segment/TLS cpu-locals.
-
As part of the stdlib mutex overhaul, std::sync::Mutex on Linux now has competitive performance with parking_lot
The epoch GC library I've used before was a Google-internal C++ one. It noticeably improved my software's tail latency over rwlocks. The unique thing about it is that it was basically zero-cost over a plain non-atomic pointer. It used Linux restartable sequences (aka rseq) to take advantage of synchronization operations Linux does on each context switch, rather than adding new atomics. I'm not aware of any open source synchronization libraries that do the same thing, but there's nothing stopping someone from writing one. rseq kernel support has been in mainline since Linux 4.18.
flurry
-
As part of the stdlib mutex overhaul, std::sync::Mutex on Linux now has competitive performance with parking_lot
Recently I learned about the hyaline reclamation scheme that seize uses. Mentioning since it may interest you:flurry, a concurrent HashMap, recently switched from crossbeam-epoch (based on epoch GC) to seize.
-
Seize: Fast, efficient, and robust memory reclamation
Here's the PR that ported the concurrent hash table flurryfrom crossbeam-epoch to seize https://github.com/jonhoo/flurry/pull/102
-
Hey Rustaceans! Got an easy question? Ask here (12/2021)!
Can any data structure be concurrent? I'd like to practice concurrency but I'm lacking off of ideas. I'm very inspired by Jon Gjenset's concurrent hashmap. Any suggestion would be deeply appreciated!
-
Which are the best Rust repositories to read to learn the language?
If you're the type of person who enjoys watching programming videos, /u/Jonhoo has a handful of repos that are the result of live coding streams. Flurry is a port of Java's ConcurrentHashMap, inferno is a Rust port of flamegraph and tokio-zookeeper is a client for Apache Zookeeper. If you enjoy following along while someone creates a piece of software, I heartily recommend Jon's streams.
What are some alternatives?
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
mini-redis - Incomplete Redis client and server implementation using Tokio - for learning purposes only
seize - Fast, efficient, and robust memory reclamation for Rust.
httparse - A push parser for the HTTP 1.x protocol in Rust.
high-scale-lib - A fork of Cliff Click's High Scale Library. Improved with bug fixes and a real build system.
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
rust - Empowering everyone to build reliable and efficient software.
advent-of-code-2020 - :christmas_tree: My Advent of Code solutions in Rust. http://adventofcode.com/2020
Cargo - The Rust package manager
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala