C++ - Reddit
223 subscribers
48 photos
8 videos
24.7K links
Stay up-to-date with everything C++!
Content directly fetched from the subreddit just for you.

Join our group for discussions : @programminginc

Powered by : @r_channels
Download Telegram
New C++ Conference Videos Released This Month - March 2026 (Updated To Include Videos Released 2026-03-23 - 2026-03-29)

CppCon

2026-03-23 - 2026-03-29

How C++ Finally Beats Rust at JSON Serialization - Daniel Lemire & Francisco Geiman Thiesen - [https://youtu.be/Mcgk3CxHYMs](https://youtu.be/Mcgk3CxHYMs)
Back to Basics: Move Semantics - Ben Saks - https://youtu.be/szU5b972F7E
The Wonderful World of Designing a USB Stack Using Modern C++ - Madeline Schneider - [https://youtu.be/Kbj\_c-12yrA](https://youtu.be/Kbj_c-12yrA)
Why Every C++ Game Developer Should Learn SDL 3 Now - Mike Shah - https://youtu.be/tV1giXd0-Us
Panel: What We Learned About AI Tools For C++ Engineers - Hosted by Guy Davidson - [https://youtu.be/XPyGQm6-lsI](https://youtu.be/XPyGQm6-lsI)

2026-03-16 - 2026-03-22

Building a C++ Career Off-Road - Sherry Sontag - https://youtu.be/SNZlxHDrwM4
The Pattern Matching We Already Have - Braden Ganetsky - [https://youtu.be/zB6ORpZjneQ](https://youtu.be/zB6ORpZjneQ)
Upgrading Sea of Thieves From C++14 to C++20 Wasn't Easy Here's Why - Keith Stockdale - https://youtu.be/b6j6SZiXmoo
Can Standard C++ Replace CUDA for GPU Acceleration? - Elmar Westphal - [https://youtu.be/EOvukoCyW7A](https://youtu.be/EOvukoCyW7A)

2026-03-09 - 2026-03-15

Cache Me Maybe: The Performance Secret Every C++ Developer Needs - Michelle D'Souza - https://youtu.be/VhKq0nzPTh0
It’s Dangerous to Go Alone: A Game Developer Tutorial - Michael Price - [https://youtu.be/TIXf24aUmA0](https://youtu.be/TIXf24aUmA0)
Seamless Static Analysis with Cppcheck: From IDE to CI and Code Review - Daniel Marjamäki - https://youtu.be/7u97LZYxu3g
Knockin' on Header's Door: An Overview of C++ Modules - Alexsandro Thomas - [https://youtu.be/fZrDG\_he9sE](https://youtu.be/fZrDG_he9sE)
Modern C++ for Embedded Systems: From Fundamentals to Real-Time Solutions - Rutvij Girish Karkhanis - https://youtu.be/7uwPcCfcv1k

2026-03-02 - 2026-03-08

Interesting Upcoming Low-Latency, Concurrency, and Parallelism Features from Wroclaw 2024, Hagenberg 2025, and Sofia 2025 - Paul E. McKenney, Maged Michael, Michael Wong - CppCon 2025 - [https://youtu.be/M1pqI1B9Zjs](https://youtu.be/M1pqI1B9Zjs)
Threads vs Coroutines — Why C++ Has Two Concurrency Models - Conor Spilsbury - CppCon 2025 - https://youtu.be/txffplpsSzg
From Pure ISO C++20 To Compute Shaders - Koen Samyn - CppCon 2025 - [https://youtu.be/hdzhhqvYExE](https://youtu.be/hdzhhqvYExE)
Wait is it POSIX? Investigating Different OS and Library Implementations for Networking - Katherine Rocha - CppCon 2025 - https://youtu.be/wDyssd8V\_6w
End-to-End Latency Metrics From Distributed Trace - Kusha Maharshi - CppCon 2025 - [https://youtu.be/0bPqGN5J7f0](https://youtu.be/0bPqGN5J7f0)

2026-02-23 - 2026-03-01

Fix C++ Stack Corruptions with the Shadow Stack Library - Bartosz Moczulski - CppCon 2025 - https://youtu.be/-Qg0GaONwPE
First Principles While Designing C++ Applications - Prabhu Missier - CppCon 2025 - [https://youtu.be/8mLo5gXwn4k](https://youtu.be/8mLo5gXwn4k)
Matrix Multiplication Deep Dive || Cache Blocking, SIMD & Parallelization - Aliaksei Sala - CppCon 2025 - https://youtu.be/GHctcSBd6Z4
Choose the Right C++ Parallelism Tool | Low-Level vs Async vs Coroutines vs Data Parallel - Eran Gilad - CppCon 2025 - [https://youtu.be/7a9AP4rD08M](https://youtu.be/7a9AP4rD08M)
ISO C++ Standards Committee Panel Discussion 2025 - Hosted by Herb Sutter - CppCon 2025 - https://youtu.be/R2ulYtpV\_rs

ADC

2026-03-23 - 2026-03-29

Lock-free Queues in the Multiverse of Madness - Dave Rowland - [https://youtu.be/zA6kcyze1hc](https://youtu.be/zA6kcyze1hc)
Free-Range Users Make for More Profitable DAWs -
New C++ Conference Videos Released This Month - March 2026 (Updated To Include Videos Released 2026-03-23 - 2026-03-29)

**CppCon**

2026-03-23 - 2026-03-29

* How C++ Finally Beats Rust at JSON Serialization - Daniel Lemire & Francisco Geiman Thiesen - [https://youtu.be/Mcgk3CxHYMs](https://youtu.be/Mcgk3CxHYMs)
* Back to Basics: Move Semantics - Ben Saks - [https://youtu.be/szU5b972F7E](https://youtu.be/szU5b972F7E)
* The Wonderful World of Designing a USB Stack Using Modern C++ - Madeline Schneider - [https://youtu.be/Kbj\_c-12yrA](https://youtu.be/Kbj_c-12yrA)
* Why Every C++ Game Developer Should Learn SDL 3 Now - Mike Shah - [https://youtu.be/tV1giXd0-Us](https://youtu.be/tV1giXd0-Us)
* Panel: What We Learned About AI Tools For C++ Engineers - Hosted by Guy Davidson - [https://youtu.be/XPyGQm6-lsI](https://youtu.be/XPyGQm6-lsI)

2026-03-16 - 2026-03-22

* Building a C++ Career Off-Road - Sherry Sontag - [https://youtu.be/SNZlxHDrwM4](https://youtu.be/SNZlxHDrwM4)
* The Pattern Matching We Already Have - Braden Ganetsky - [https://youtu.be/zB6ORpZjneQ](https://youtu.be/zB6ORpZjneQ)
* Upgrading Sea of Thieves From C++14 to C++20 Wasn't Easy Here's Why - Keith Stockdale - [https://youtu.be/b6j6SZiXmoo](https://youtu.be/b6j6SZiXmoo)
* Can Standard C++ Replace CUDA for GPU Acceleration? - Elmar Westphal - [https://youtu.be/EOvukoCyW7A](https://youtu.be/EOvukoCyW7A)

2026-03-09 - 2026-03-15

* Cache Me Maybe: The Performance Secret Every C++ Developer Needs - Michelle D'Souza - [https://youtu.be/VhKq0nzPTh0](https://youtu.be/VhKq0nzPTh0)
* It’s Dangerous to Go Alone: A Game Developer Tutorial - Michael Price - [https://youtu.be/TIXf24aUmA0](https://youtu.be/TIXf24aUmA0)
* Seamless Static Analysis with Cppcheck: From IDE to CI and Code Review - Daniel Marjamäki - [https://youtu.be/7u97LZYxu3g](https://youtu.be/7u97LZYxu3g)
* Knockin' on Header's Door: An Overview of C++ Modules - Alexsandro Thomas - [https://youtu.be/fZrDG\_he9sE](https://youtu.be/fZrDG_he9sE)
* Modern C++ for Embedded Systems: From Fundamentals to Real-Time Solutions - Rutvij Girish Karkhanis - [https://youtu.be/7uwPcCfcv1k](https://youtu.be/7uwPcCfcv1k)

2026-03-02 - 2026-03-08

* Interesting Upcoming Low-Latency, Concurrency, and Parallelism Features from Wroclaw 2024, Hagenberg 2025, and Sofia 2025 - Paul E. McKenney, Maged Michael, Michael Wong - CppCon 2025 - [https://youtu.be/M1pqI1B9Zjs](https://youtu.be/M1pqI1B9Zjs)
* Threads vs Coroutines — Why C++ Has Two Concurrency Models - Conor Spilsbury - CppCon 2025 - [https://youtu.be/txffplpsSzg](https://youtu.be/txffplpsSzg)
* From Pure ISO C++20 To Compute Shaders - Koen Samyn - CppCon 2025 - [https://youtu.be/hdzhhqvYExE](https://youtu.be/hdzhhqvYExE)
* Wait is it POSIX? Investigating Different OS and Library Implementations for Networking - Katherine Rocha - CppCon 2025 - [https://youtu.be/wDyssd8V\_6w](https://youtu.be/wDyssd8V_6w)
* End-to-End Latency Metrics From Distributed Trace - Kusha Maharshi - CppCon 2025 - [https://youtu.be/0bPqGN5J7f0](https://youtu.be/0bPqGN5J7f0)

2026-02-23 - 2026-03-01

* Fix C++ Stack Corruptions with the Shadow Stack Library - Bartosz Moczulski - CppCon 2025 - [https://youtu.be/-Qg0GaONwPE](https://youtu.be/-Qg0GaONwPE)
* First Principles While Designing C++ Applications - Prabhu Missier - CppCon 2025 - [https://youtu.be/8mLo5gXwn4k](https://youtu.be/8mLo5gXwn4k)
* Matrix Multiplication Deep Dive || Cache Blocking, SIMD & Parallelization - Aliaksei Sala - CppCon 2025 - [https://youtu.be/GHctcSBd6Z4](https://youtu.be/GHctcSBd6Z4)
* Choose the Right C++ Parallelism Tool | Low-Level vs Async vs Coroutines vs Data Parallel - Eran Gilad - CppCon 2025 - [https://youtu.be/7a9AP4rD08M](https://youtu.be/7a9AP4rD08M)
* ISO C++ Standards Committee Panel Discussion 2025 - Hosted by Herb Sutter - CppCon 2025 - [https://youtu.be/R2ulYtpV\_rs](https://youtu.be/R2ulYtpV_rs)

**ADC**

2026-03-23 - 2026-03-29

* Lock-free Queues in the Multiverse of Madness - Dave Rowland - [https://youtu.be/zA6kcyze1hc](https://youtu.be/zA6kcyze1hc)
* Free-Range Users Make for More Profitable DAWs -
Why DAWs Should Prioritise Interchange Formats - Will Anderson - [https://youtu.be/Q97soaEYvWc](https://youtu.be/Q97soaEYvWc)
* The Practices of Programming and Their Application to Audio - Ilias Bergström - [https://youtu.be/yBTz8MjEYoA](https://youtu.be/yBTz8MjEYoA)

2026-03-16 - 2026-03-22

* Web UIs for Music Apps - Anna Wszeborowska, Harriet Drury, Emma Fitzmaurice, Pauline Nemchak & Simeon Joseph - [https://youtu.be/xh-yJpuWYSo](https://youtu.be/xh-yJpuWYSo)
* Python Templates for Neural Image Classification and Spectral Audio Processing - Lightning Hydra Template Extended and Neural Spectral Modeling Template - Julius Smith - [https://youtu.be/TNY2UGQ5kAc](https://youtu.be/TNY2UGQ5kAc)
* Why You Can’t Get Hired and What You’re Going To Do About It - The Hard Reset for Audio Freelancing - Edward Ray - [https://youtu.be/4TjR3i6M93Y](https://youtu.be/4TjR3i6M93Y)

2026-03-09 - 2026-03-15

* Engineering Practices Break Music Interaction - (but Can Also Fix It) - Franco Caspe - [https://youtu.be/aGYPFjibwaY](https://youtu.be/aGYPFjibwaY)
* Python Templates for Neural Image Classification and Spectral Audio Processing - Lightning Hydra Template Extended - Julius Smith - [https://youtu.be/vH21UqZafa4](https://youtu.be/vH21UqZafa4)
* Making a 3D DAW in Unity: Chaos, Logic, and Physics - Noah Feasey-Kemp - [https://youtu.be/6WeecBwyEyM](https://youtu.be/6WeecBwyEyM)

2026-03-02 - 2026-03-08

* Efficient Task Scheduling in a Multithreaded Audio Engine - Algorithms and Analysis for Parallel Graph Execution - Rachel Susser - ADC 2025 - [https://youtu.be/bEtSeGr8UvY](https://youtu.be/bEtSeGr8UvY)
* The Immersive Score - Creative Advantages of Beds and Objects in Film and Game Music - Simon Ratcliffe - ADCx Gather 2025 - [https://youtu.be/aTmkr0yTF5g](https://youtu.be/aTmkr0yTF5g)
* Tabla to Drumset - Translating Rhythmic Language through Machine Learning - Shreya Gupta - ADC 2025 - [https://youtu.be/g14gESreUGY](https://youtu.be/g14gESreUGY)

2026-02-23 - 2026-03-01

* Channel Agnosticism in MetaSounds - Simplifying Audio Formats for Reusable Graph Topologies - Aaron McLeran - ADC 2025 - [https://youtu.be/CbjNjDAmKA0](https://youtu.be/CbjNjDAmKA0)
* Sound Over Boilerplate - Accessible Plug-Ins Development With Phausto and Cmajor - Domenico Cipriani - ADCx Gather 2025 - [https://youtu.be/DVMmKmj1ROI](https://youtu.be/DVMmKmj1ROI)
* Roland Future Design Lab x Neutone: diy:NEXT - Paul McCabe, Ichiro Yazawa & Alfie Bradic - ADC 2025 - [https://youtu.be/4JIiYqjq3cA](https://youtu.be/4JIiYqjq3cA)

**Meeting C++**

2026-03-23 - 2026-03-29

* From Introductory to Advanced C++ - Learning Guidelines - Slobodan Dmitrovic - [https://www.youtube.com/watch?v=n8P11hDYWIs](https://www.youtube.com/watch?v=n8P11hDYWIs)

2026-03-16 - 2026-03-22

* Back to the basics: Namespaces 101 - Sandor Dargo - Meeting C++ 2025 - [https://www.youtube.com/watch?v=nHFfm7koAuA](https://www.youtube.com/watch?v=nHFfm7koAuA)
* How to understand modern C++ features in practice? Let's create a compiler! - Boguslaw Cyganek - [https://www.youtube.com/watch?v=\_uuUw8N0qQ0](https://www.youtube.com/watch?v=_uuUw8N0qQ0)

2026-03-09 - 2026-03-15

* Building Bridges: C++ Interop, Foreign Function Interfaces & ABI - Gareth Williamson - [https://www.youtube.com/watch?v=0X\_qgWQdvrg](https://www.youtube.com/watch?v=0X_qgWQdvrg)
* "But my tests passed!" - Exploring C++ Test Suite Weaknesses with Mutation Testing - Nico Eichhorn - [https://www.youtube.com/watch?v=G\_TDxhZB4t8](https://www.youtube.com/watch?v=G_TDxhZB4t8)

2026-03-02 - 2026-03-08

* Binary compatibility 100 - Marc Mutz - [https://www.youtube.com/watch?v=mPtjFsje1eo](https://www.youtube.com/watch?v=mPtjFsje1eo)
* Persistence squared: persisting persistent data structures - Juan Pedro Bolívar Puente - Meeting C++ - [https://www.youtube.com/watch?v=pQhHx0h-904](https://www.youtube.com/watch?v=pQhHx0h-904)

2026-02-23 - 2026-03-01

* Instruction Level Parallelism and Software Performance - Ivica Bogosavljevic - Meeting C++ 2025 -
[https://www.youtube.com/watch?v=PMu7QNctEGk](https://www.youtube.com/watch?v=PMu7QNctEGk)
* Real-time Safety — Guaranteed by the Compiler! - Anders Schau Knatten Meeting C++ 2025 - [https://www.youtube.com/watch?v=4aALnxHt9bU](https://www.youtube.com/watch?v=4aALnxHt9bU)

**C++Online**

2026-03-09 - 2026-03-15

* From Hello World to Real World - A Hands-On C++ Journey from Beginner to Advanced - Workshop Preview - Amir Kirsh - [https://youtu.be/2zhW-tL2UXs](https://youtu.be/2zhW-tL2UXs)
* Workshop Preview: C++ Software Design - Klaus Iglberger - [https://youtu.be/VVQN-fkwqlA](https://youtu.be/VVQN-fkwqlA)
* Workshop Preview: Essential GDB and Linux System Tools - Mike Shah - [https://youtu.be/ocaceZWKm\_k](https://youtu.be/ocaceZWKm_k)
* Workshop Preview: Performance and Safety in C++ Crash Course - Jason Turner - [https://youtube.com/live/Ipr6ntCAm9A](https://youtube.com/live/Ipr6ntCAm9A)
* Workshop Preview: Concurrency Tools in the C++ Standard Library - A Hands-On Workshop - Mateusz Pusz - [https://youtube.com/live/Kx9Ir1HBbwY](https://youtube.com/live/Kx9Ir1HBbwY)
* Workshop Preview: Mastering std::execution (Senders/Receivers) - A Hands-On Workshop - Mateusz Pusz - [https://youtube.com/live/bsyqh\_bjyE4](https://youtube.com/live/bsyqh_bjyE4)
* Workshop Preview: How C++ Actually Works - Hands-On With Compilation, Memory, and Runtime - Assaf Tzur-El - [https://youtube.com/live/L0SSRRnbJnU](https://youtube.com/live/L0SSRRnbJnU)
* Workshop Preview: Jumpstart to C++ in Audio - Learn Audio Programming & Create Your Own Music Plugin/App with the JUCE C++ Framework - Jan Wilczek - [https://youtube.com/live/M3wJN0x8cJw](https://youtube.com/live/M3wJN0x8cJw)
* Workshop Preview: AI++ 101 - Build an AI Coding Assistant in C++ & AI++ 201 - Build a Matching Engine with Claude Code - Jody Hagins - [https://youtube.com/live/Vx7UA9wT7Qc](https://youtube.com/live/Vx7UA9wT7Qc)
* Workshop Preview: Stop Thinking Like a Junior - The Soft Skills That Make You Senior - Sandor DARGO - [https://youtube.com/live/nvlU5ETuVSY](https://youtube.com/live/nvlU5ETuVSY)
* Workshop Preview: Splice & Dice - A Field Guide to C++26 Static Reflection - Koen Samyn - [https://youtube.com/live/9bSsekhoYho](https://youtube.com/live/9bSsekhoYho)

https://redd.it/1s7whyo
@r_cpp
Iteratively optimizing an SPSC queue

I recently documented walking through the iterative process of optimizing a SPSC queue.

* Starting from `atomic<int64_t> size` which has the `lock` instruction bottleneck.
* Refactoring to separate atomic push, popInd. Fixing false sharing, 3 cacheline and 2 cacheline approach.
* Implementing index caching to minimize cross-core traffic and the impact of mm_pause

Link: https://blog.c21-mac.com/posts/spsc/

For reasons I don't understand the 3 cacheline performs considerably worse than 2 cacheline, I initially assumed it due to 128-byte-rule, but that doesn't explain L1d-cache misses being relatively higher in 3 cacheline vs 2 cacheline implementation. If anyone has any insights on what might be causing this or any feedback on the post, I would love to hear.


https://redd.it/1s80568
@r_cpp
24 Hard Rules for Writing Correct Async C++ (lessons from a 50K LOC Seastar codebase)

I've been building a C++20 service on Seastar and catalogued every class of bug that burned me into a set of rules I check on every commit. Each one cost at least a day to diagnose.

A few examples:

Lambda coroutines in `.then()` are use-after-free (the coroutine frame outlives the lambda that created it)
Coroutine reference parameters dangle (caller's scope ends before the coroutine resumes)
`std::shared_ptr` destructs on the wrong shard in Seastar's shared-nothing model
Missing & in do_with lambdas gives you a copy that dies while the future is still running

Some are Seastar-specific, but most apply to any coroutine-based async C++. The post covers the anti-pattern, why it breaks, and the fix for each.

https://ranvier.systems/2026/03/29/24-hard-rules-for-writing-correct-async-cpp.html

Curious if others have hit similar issues or have rules I'm missing.

https://redd.it/1s85qf1
@r_cpp
New subreddits r/msvc and r/cppmodules

I've been bold and created two friendly new subreddits:

r/msvc:

>Everything about the Microsoft C++ compiler

r/cpp
modules:

>News, insights, discussions & questions about the modules feature of the C++ programming language.

I hope it's ok to mention these here. Let's see how it goes.

https://redd.it/1s8eljc
@r_cpp
Why most SBOM tools produce inaccurate results on C++ projects — the dependency detection problem

So I've been digging into how SBOM tools actually handle C++ and honestly, the more I looked the worse it got. Wanted to share what I found because nobody really talks about this gap even though it hits every team shipping C++ binaries.

Here's the thing — SBOM tools were built for languages that have their shit together when it comes to dependency declaration. Python has pip and requirements.txt. Rust has Cargo.toml. JavaScript has package.json. One manifest, one lockfile, scanner reads it, done. You get a reasonably accurate component list.

C++ has none of that. Your dependencies could be coming from git submodules, vendored source sitting in some 3rdparty/ directory, system-installed shared libs, CMake FetchContent, Conan, vcpkg, prebuilt binaries, or just raw .c files someone dropped into the repo three years ago. Most real projects use a mix of all of these.

That's already a nightmare to scan. But the deeper problem is — even if you could somehow enumerate every dependency at the source level, that still doesn't tell you what actually ended up in the binary.

Three things make C++ uniquely painful here:

Static linking — library gets linked into the executable and it's gone. It's in there but you can't see it as a separate component anymore. Binary analysis tools need metadata that static linking destroys. Symbols stripped, version info gone.

Build flags — compiler pulls in different stuff based on flags that change per platform. Same source tree, different OS, completely different dependency set in the final artifact.

Runtime-loaded libs — anything loaded via dlopen or LoadLibrary never shows up in the build graph. It's a real dependency but nobody declared it anywhere.

So I came across a benchmark against OpenCV that makes all of this concrete. OpenCV's a solid test case because it has a 3rdparty/ folder with vendored copies of zlib, libpng, libtiff and others — you can literally verify what should and shouldn't show up.

They ran Syft (filesystem scanner) against the repo. 92 components reported. That number looks great until you actually read the list. Most of it was garbage — Java test frameworks, Gradle wrappers, GitHub Actions workflow files. None of it relevant to what ships. The actual vendored C++ libraries sitting right there in 3rdparty/? Not detected.

FFmpeg was the best part. Flagged six times as a build component. FFmpeg is never compiled into OpenCV. On Linux it uses whatever the system provides. On Windows it's an optional pre-built DLL that loads at runtime if it's even available. Six false positives from one library.

Then they ran build-time observation — basically recording what the compiler and linker actually execute during compilation. Found 12 real third-party deps plus 75 internal modules. Zero false positives. Every component traceable back to its source file.

92 mostly wrong vs 87 all correct. That's not a marginal difference.

The benchmark was done by Incredibuild using their BuildGuard tool. I wrote a full breakdown covering the three SBOM approaches (pre-build scanning, binary analysis, build-time observation) and where each one breaks for C++: [link\]

For context — dependency management was the #1 C++ pain point in the 2018 ISO survey. There was a Reddit thread in 2024 asking if it'll still be the biggest problem in 2028. For SBOM accuracy specifically, the tooling gap is still wide open.

What are you all using for dependency tracking and SBOM generation on C++ projects? Genuinely curious, especially if you're dealing with large codebases, heavy vendoring, or conditional compilation.

https://redd.it/1s8jx8a
@r_cpp
C++ Show and Tell - April 2026

Use this thread to share anything you've written in C++. This includes:

* a tool you've written
* a game you've been working on
* your first non-trivial C++ program

The rules of this thread are very straight forward:

* The project must involve C++ in some way.
* It must be something you (alone or with others) have done.
* Please share a link, if applicable.
* Please post images, if applicable.

If you're working on a C++ library, you can also share new releases or major updates in a dedicated post as before. The line we're drawing is between "written in C++" and "useful for C++ programmers specifically". If you're writing a C++ library or tool for C++ developers, that's something C++ programmers can use and is on-topic for a main submission. It's different if you're just using C++ to implement a generic program that isn't specifically about C++: you're free to share it here, but it wouldn't quite fit as a standalone post.

Last month's thread: https://www.reddit.com/r/cpp/comments/1ri7ept/c_show_and_tell_march_2026/

https://redd.it/1salqls
@r_cpp
C++ Jobs - Q2 2026

Rules For Individuals
---------------------

* **Don't** create top-level comments - those are for employers.
* Feel free to reply to top-level comments with **on-topic** questions.
* I will create top-level comments for **meta** discussion and **individuals looking for work**.

Rules For Employers
-------------------

* If you're hiring **directly**, you're fine, skip this bullet point. If you're a **third-party recruiter**, see the extra rules below.
* **Multiple** top-level comments per employer are now permitted.
+ It's still fine to consolidate multiple job openings into a single comment, or mention them in replies to your own top-level comment.
* **Don't** use URL shorteners.
+ [reddiquette][] forbids them because they're opaque to the spam filter.
* **Use** the following template.
+ Use \*\*two stars\*\* to **bold text**. Use empty lines to separate sections.
* **Proofread** your comment after posting it, and edit any formatting mistakes.

Template
--------

\*\*Company:\*\* [Company name; also, use the "formatting help" to make it a link to your company's website, or a specific careers page if you have one.]

\*\*Type:\*\* [Full time, part time, internship, contract, etc.]

\*\*Compensation:\*\* [This section is **optional**, and you can omit it without explaining why. However, including it will help your job posting stand out as there is extreme demand from candidates looking for this info. If you choose to provide this section, it must contain (a range of) **actual numbers** - don't waste anyone's time by saying "Compensation: Competitive."]

\*\*Location:\*\* [Where's your office - or if you're hiring at multiple offices, list them. If your workplace language isn't English, please specify it. It's suggested, but not required, to include the country/region; "Redmond, WA, USA" is clearer for international candidates.]

\*\*Remote:\*\* [Do you offer the option of working remotely? If so, do you require employees to live in certain areas or time zones?]

\*\*Visa Sponsorship:\*\* [Does your company sponsor visas?]

\*\*Description:\*\* [What does your company do, and what are you hiring C++ devs for? How much experience are you looking for, and what seniority levels are you hiring for? The more details you provide, the better.]

\*\*Technologies:\*\* [Required: what version of the C++ Standard do you mainly use? Optional: do you use Linux/Mac/Windows, are there languages you use in addition to C++, are there technologies like OpenGL or libraries like Boost that you need/want/like experience with, etc.]

\*\*Contact:\*\* [How do you want to be contacted? Email, reddit PM, telepathy, gravitational waves?]

Extra Rules For Third-Party Recruiters
--------------------------------------
Send modmail to request pre-approval on a case-by-case basis. We'll want to hear what info you can provide (in this case you can withhold client company names, and compensation info is still recommended but optional). We hope that you can connect candidates with jobs that would otherwise be unavailable, and we expect you to treat candidates well.

Previous Post
-------------

* [C++ Jobs - Q1 2026](https://www.reddit.com/r/cpp/comments/1q18ynb/c_jobs_q1_2026/)

[reddiquette]: https://support.reddithelp.com/hc/en-us/articles/205926439-Reddiquette

https://redd.it/1sd56sw
@r_cpp
Has QString any advantage over C++26?

C++26 is a different language compared with when Qt introduced QString and QStringView. For example C++17 introduced std::string_view. Is there any advantage left over what std offers? What about compatibility, could a potential Qt 7 just drop their own code and make QString* a type alias of std::string*?

https://redd.it/1sccaz4
@r_cpp
A fast, contiguous, Windows slot map implementation

Hey guys, I was inspired by a recent post which implemented a hierarchical bitset slot map, and I figured I knew a faster design.

That post:
(https://www.reddit.com/r/cpp/comments/1s06kjv/slot\_map\_implementation\_for\_c20/)



This container features stable handles to elements, fast insert, erase, optional versioning, fast iteration through bit scanning intrinsics.



The API deliberately leaves in a good number of sharp edges, I know that is taboo, but I made it as safe as I could without pessimizing the very hot paths.



I would position it in the same realm as something like plf::colony, that is, good for high churn, fast lookups, fast sparse iteration, ECS or game engine workloads.



Compared to a sparse set (sparse + dense array), this slot map should be slower in iteration, and faster in lookups, insert, and erase.


How it works is roughly:
Contiguous VM backed storage,. Contiguous bitset for marking dead slots. Free list is FILO stack intrusively embedded in storage. Iterator scans words with _tzcnt_u64, and pops bits off using _blsr_u64. Lookups are direct access.



There are some benchmarks on the repo, though they are microbenchmarks and not at all conclusive.



The repo documents all the sharp edges I could think of. The biggest sharp edge is: The accessors are not safe against random fuzzed integers. For performance reasons.



Let me know if you have any questions.

Repo:
https://github.com/ScallyingMyWag/bitsetmap

https://redd.it/1sbro26
@r_cpp
Trying to implement fiber in C++20 coroutine

https://github.com/felixaszx/coro-fiber

I did some experiments with this. The result is very surprising. I tested this on my Ryzen 7700X (8c/16t) Windows 11.

This is barely optimized. But, its is able to outperform boost::fiber in single-thread context switching (\~20ns vs \~60ns, LLVM 21, std=c++20, the timer takes \~20ns). And even with the work stealing algorithm across all 16 threads trying to steal 1 fiber, it can still maitain at \~22ns of context switching.

I guess this is really uncommon since most of the time we expect our fiber to have some real workload rather than infinitely yielding to some other fibers. I am looking for some advices about how to improve the scheduler, right now it is just doing round robin locally or steal from other thread's queue if empty.

https://redd.it/1sbkbei
@r_cpp