librseq
Library for Restartable Sequences (by compudj)
seize
Fast, efficient, and robust memory reclamation for Rust. (by ibraheemdev)
librseq | seize | |
---|---|---|
2 | 6 | |
63 | 305 | |
- | - | |
9.5 | 8.0 | |
20 days ago | 15 days ago | |
C | Rust | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of librseq.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-26.
-
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.
seize
Posts with mentions or reviews of seize.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-03.
- Seize - Fast, efficient, and robust memory reclamation for Rust.
-
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 for Rust
- Seize: Fast, efficient, and robust memory reclamation
- Seize: Fast, efficient, and robust memory reclamation for concurrent data structures.
What are some alternatives?
When comparing librseq and seize you can also consider the following projects:
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
mmtk-core - Memory Management ToolKit
flurry - A port of Java's ConcurrentHashMap to Rust
high-scale-lib - A fork of Cliff Click's High Scale Library. Improved with bug fixes and a real build system.
rust - Empowering everyone to build reliable and efficient software.
cactusref - 🌵 Cycle-Aware Reference Counting in Rust
lib-wc - A simple rust library
yew - Rust / Wasm framework for creating reliable and efficient web applications
stupidalloc - A stupid Rust memory allocator
memory_pages - `memory_pages` is a small library provinig a cross-platform API to request pages from kernel with certain premisions