OpenRiver Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
lysdexic@programming.devM to C++@programming.devEnglish · 3 months ago

Building a Fast Lock-Free Queue in Modern C++ From Scratch

blog.jaysmito.dev

external-link
message-square
0
link
fedilink
  • cross-posted to:
  • hackernews@lemmy.bestiver.se
1
external-link

Building a Fast Lock-Free Queue in Modern C++ From Scratch

blog.jaysmito.dev

lysdexic@programming.devM to C++@programming.devEnglish · 3 months ago
message-square
0
link
fedilink
  • cross-posted to:
  • hackernews@lemmy.bestiver.se
Why do standard mutex-based queues feel very slow under extreme contention? Lets take a deep dive into the chaotic world of lock-free programming, Hazard Pointers, cache-line optimizations, and C++20 concepts to build a Multi-Producer Multi-Consumer queue that scales to dozens of threads without choking on the OS scheduler.
alert-triangle
You must log in or register to comment.

C++@programming.dev

cpp@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !cpp@programming.dev

The center for all discussion and news regarding C++.

Rules

  • Respect instance rules.
  • Don’t be a jerk.
  • Please keep all posts related to C++.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 8 users / day
  • 8 users / week
  • 8 users / month
  • 8 users / 6 months
  • 0 local subscribers
  • 2.41K subscribers
  • 49 Posts
  • 0 Comments
  • Modlog
  • mods:
  • lysdexic@programming.dev
  • Nihili0@programming.dev
  • BE: 0.19.21
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org