As part of the stdlib mutex overhaul, std::sync::Mutex on Linux now has competitive performance with parking_lot

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/rust

Our great sponsors
  • Scout APM - Truly a developer’s best friend
  • talent.io - Download talent.io’s Tech Salary Report
  • SonarQube - Static code analysis for 29 languages.
  • rust

    Empowering everyone to build reliable and efficient software.

    Link is broken on Apollo app, here should be a fixed one

  • tokio

    A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

    https://github.com/tokio-rs/tokio/issues/4623 for a discussion about what should be done about tokio's parking_lot feature.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • flurry

    A port of Java's ConcurrentHashMap to Rust

    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.

    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.

  • librseq

    Library for Restartable Sequences

    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.

  • talent.io

    Download talent.io’s Tech Salary Report. Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform talent.io

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts