C++ - Reddit
226 subscribers
48 photos
8 videos
1 file
25.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 - November 2026 (Updated To Include Videos Released 2026-11-23 - 2026-11-29)

C++Now

2026-11-23 - 2026-11-29

Lightning Talk: The Average Lies: A 5-Minute Lesson in Tail Latency - Sampad Acharya - [https://youtu.be/pi\_gL4GFgrY](https://youtu.be/pi_gL4GFgrY)
Lightning Talk: Reflection - The Monad - Ben Deane - https://youtu.be/OowvWp1A9Mo
Lightning Talk: Run-time Template Parameters - Sort Of - Braden Ganetsky - [https://youtu.be/vNVtvGRx\_84](https://youtu.be/vNVtvGRx_84)

2026-11-16 - 2026-11-22

Lightning Talk: Organic Evolution of Reflection in Apache Thrift - Shai Szulanski - https://youtu.be/qlDhEPgE94g
Lightning Talk: The Unanticipated Allocator - Jeff Trull - [https://youtu.be/QdD4-cPlG5c](https://youtu.be/QdD4-cPlG5c)
Lightning Talk: Generative C++ - Alon Wolf - https://youtu.be/QsVTEYVO230

2026-11-09 - 2026-11-15

Lightning Talk: Bool - Implicitly Dangerous - Jeff Garland - [https://youtu.be/dlFSJbtY49I](https://youtu.be/dlFSJbtY49I)
Lightning Talk: Mixed-Mode Rings: io_uring_context for Kernel 7.x - Robert Leahy - https://youtu.be/Be1RA\_ypYrU
Lightning Talk: Our Most Treacherous Adversary - James McNellis - [https://youtu.be/degCN1CSd5w](https://youtu.be/degCN1CSd5w)

2026-11-02 - 2026-11-08

Lightning Talk: The Hidden Superpower of Modern CPUs - Why ILP Can Make “More Work” Run Faster - Sampad Acharya - https://youtu.be/WZl7tMBBn3U
Lightning Talk: When Weird Things Happen - Ruslan Arutyunyan - [https://youtu.be/VEIJkIEKEQ4](https://youtu.be/VEIJkIEKEQ4)
Lightning Talk: A Metaprogramming Checklist - Ben Deane - https://youtu.be/6n\_mOFP\_kBA

2026-10-26 - 2026-11-01

AI is Forcing us to Obey Scott Meyers - Jody Hagins - [https://youtu.be/CiaZq4kCH08](https://youtu.be/CiaZq4kCH08)
C++ Libraries - The Road Ahead - Jeffrey Garland - https://youtu.be/bNipVnNaDdk
Lightning Talk: ?: - Jonathan Müller - [https://youtu.be/TLj6NVx5xvk](https://youtu.be/TLj6NVx5xvk)

ACCU

2026-11-23 - 2026-11-29

Code Reviews - Building Better Code and Stronger Teams - Sandor DARGO - https://youtu.be/jOLsiXw\_wR0
Language Compilation at 30 FPS - A Tale of Performance Optimization in C++ - Adrien Devresse - [https://youtu.be/MEDwNF3goTo](https://youtu.be/MEDwNF3goTo)
Generating Language Bindings using C++ Reflection - Callum Piper - https://youtu.be/DlOpgP7maGw

2026-11-16 - 2026-11-22

Constraining Templates Before and After C++20 - The What, the How, and the Why - [https://youtu.be/2XvLjFQFx9M](https://youtu.be/2XvLjFQFx9M)
How to Properly Implement Code Quality Gates in your Development Process - Paul Jansen - https://youtu.be/udHksfcEaoQ
The Performance Mindset - Mathieu Ropert - [https://youtu.be/vW-xgQM0iwk](https://youtu.be/vW-xgQM0iwk)

2026-11-09 - 2026-11-15

C++26 Uncovered - Everything You Need to Know About the New Standard - Inbal Levi - https://youtu.be/1r5Hl1EoaYo
C++ Templates - Two-Phase Lookup - Amir Kirsh - [https://youtu.be/rQgj9agTqok](https://youtu.be/rQgj9agTqok)
Fearless Concurrency in C++ - Tristan Brindle - https://youtu.be/-FP6tLlCxWE

2026-11-02 - 2026-11-08

Implementing C++ Standard Library - Design and Optimisations in Libc++ - Hui Xie - [https://youtu.be/9efvPYY7CuY](https://youtu.be/9efvPYY7CuY)
How Invariant are Invariants? - David Olsen - https://youtu.be/TLk4mm4u02A
The Biggest Misconception of Computer Science - Alex Dathskovsky - [https://youtu.be/EwgkN3an1Gs](https://youtu.be/EwgkN3an1Gs)

2026-10-26 - 2026-11-01

Creating Composable Callables in Contemporary C++ - Using Senders / Receivers as a Frame Graph - Björn Fahller -
https://youtu.be/A4mMO5xeQDA
Incrementally Migrating C++ to a Memory Safe Language with Swift - Tim Condon - [https://youtu.be/LMQ21X6\_2FQ](https://youtu.be/LMQ21X6_2FQ)
CallMeMaybe - Building Modern Runtime Reflection via C++26 - Laurie Kirk - https://youtu.be/cA0F3wRtZIU

CppCon

2026-11-23 - 2026-11-29

Familiar C++ Patterns That Fail at Scale and the Design Shifts That Prevent Them - Divya Chandrasekar & Devpriya Dave - [https://youtu.be/NWAZlRj0Xzk](https://youtu.be/NWAZlRj0Xzk)
Towards a Complete Contract-Assertion Facility for C++ - Timur Doumler - https://youtu.be/NWAZlRj0Xzk
Component Based or Monolithic Development for Large C and C++ Projects: Why Not Both? - Diego Rodriguez-Losada Gonzalez - [https://youtu.be/pRqxQjO5wVU](https://youtu.be/pRqxQjO5wVU)

2026-11-16 - 2026-11-22

From Firmware to Screen: Real-Time Control, Simulation, and Visualization in C++23 With CUDA and Unreal Engine - Kevin Gomez - https://youtu.be/CUQbzKDPp\_I
Back to Basics: Move Semantics - Ruslan Arutyunyan - [https://youtu.be/3D4SY5vRZYk](https://youtu.be/3D4SY5vRZYk)
Same Bits Without Losing MIPS: Reproducible Numerics at Full Hardware Speed - Andrew Drakeford - https://youtu.be/-5yzXMyyV98

2026-11-09 - 2026-11-15

C++ in the Age of AI: How Visual Studio Is Evolving - Augustin Popa & David Li - [https://youtu.be/PM2tymEL2aQ](https://youtu.be/PM2tymEL2aQ)
C++26: A Curated Tour of What's New - Marc Gregoire - https://youtu.be/ak1zrDo2y-U
Optimizing Bishop, Rook, and Queen Move Generation in a Chess Engine - Aryan Naraghi - [https://youtu.be/i4XWhpoKPDs](https://youtu.be/i4XWhpoKPDs)

ADC

2026-11-23 - 2026-11-29

Creating Intuitive Interactive Music Systems Across Media - Amirreza Amouie (amu) - https://youtu.be/69gw4P8XT4s
Designing Interactive Machine Learning Tools for Music Generation Models - Junichi Shimizu - [https://youtu.be/cQvppyTetQQ](https://youtu.be/cQvppyTetQQ)
AI vs. The Algorithm - Reclaiming "The Scene" through Ethical Vocal Synthesis - Seann Nicols - https://youtu.be/yzvneQLpams

2026-11-16 - 2026-11-22

Introducing Focusrite Group Japan - Takeshi Nishimoto & Kengo Shimizu - [https://youtu.be/TvuqBL5Q3js](https://youtu.be/TvuqBL5Q3js)
Write 0 Lines of C++ / C++を1行も書かずに - Sota Ichikawa & hotwatermorning - https://youtu.be/EUFulnf7-RI
Real-Time AI Audio Processing at Scale - Building Cloud-Native Audio Applications - Vishal Alhat - [https://youtu.be/Tl6ZXlfIWRE](https://youtu.be/Tl6ZXlfIWRE)

2026-11-09 - 2026-11-15

Protect, License, Distribute with PACE Fusion Security - Ryan Wardell, Brett g Porter & Ted Barram - https://youtu.be/-JaMVZXYlBE
The Dawn of Electronic Musical Instruments in Japan - Fumio Mieda - [https://youtu.be/sNJrlMXd9dg](https://youtu.be/sNJrlMXd9dg)
Talk to Your Synth - Sound Design as a Conversation - Aurnik - https://youtu.be/LnR0Zj6NB\_w

2026-11-02 - 2026-11-08

Are You Shipping Your Source Code? - Ryan Wardell - [https://youtu.be/ToPPQ6uTUJ0](https://youtu.be/ToPPQ6uTUJ0)
Porting a Native C++ Synth Engine to the Browser: Lessons from Katokatone - Kazuhito Inoue - https://youtu.be/KmX7mfkvDHg
Generative Instruments with Large Piano Models - Tomek Roszczynialski - [https://youtu.be/EO-hGj8\_BUY](https://youtu.be/EO-hGj8_BUY)

2026-10-26 - 2026-11-01

TX/RX Part 2 - AI Audio on the Raspberry Pi - Kieran Coulter - https://youtu.be/QSiyLDHoBpo
JUCE in DJ Products - Current Status and Future Prospects - Masamichi Tomii, Akihito Yamada & Tetsuro Abe - [https://youtu.be/VElORkcpE78](https://youtu.be/VElORkcpE78)
Generative Instruments with Large Piano Models - Tomek Roszczynialski -
C++ Show and Tell - December 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/1xo0gru/c_show_and_tell_november_2026/

https://redd.it/1ya8fj4
@r_cpp
Less Code Doesn't Mean Faster Code

Take, for example, a simple reduction: summing all the elements in an array...

template<typename T>
T vectorreducesimple(T src, size_t len, T initial)
{
for(size_t i = 0; i < len; i++)
{
initial += src[i];
}
return initial;
}

Or this version:

template<typename T>
T vector_reduce_cpu(const T
src, sizet len, T initial /* = 0 */)
{
while( len >= 4 ) {
T r00, r01, r02, r03 ;
r00 = src[0] ;
r01 = src[1] ;
r02 = src[2] ;
r03 = src[3] ;

r00 += r02 ;
r01 += r03 ;

r00 += r01 ;

initial += r00 ;

len -= 4 ;
src += 4 ;
} // while
while( len >= 2 ) {
T r00, r01 ;
r00 = src[0] ;
r01 = src[1] ;

r00 += r01 ;

initial += r00 ;

len -= 2 ;
src += 2 ;
} // while
while( len >= 1 ) {
T r00 ;
r00 = src[0] ;

initial += r00 ;

len -= 1 ;
src += 1 ;
} // while

return initial ;
}

On an i9 CPU, with T being 'double', in optimal cases (i.e., a length of about 2000-7000), the longer version runs 4x faster when compiled with gcc and -O3. Why?

Even going back to the 1980s, with the [68882](
https://en.wikipedia.org/wiki/Motorola68881) FPU, floating-point units could perform operations in parallel. In the shorter case, that parallelism is defeated by the accumulation occurring solely through the 'initial' variable.

By introducing more variables, the additions can occur in parallel. The compiler also optimizes memory by interleaving variable loads with additions, which can also run in parallel.

So what's the takeaway?

Just turning on -O3 isn't enough
It pays to be aware of the hardware you're going to run on

The deep dive: https://github.com/AndrewOfC/vector\_reduction

https://redd.it/1yac9ay
@r_cpp
I don’t even hate AI, I just feel a little sad about being obsolete

I felt cool and smart that I understand low level programming, pointers and memory management and all that stuff. I still program for fun as a hobby but if I start thinking about this stuff I lose my momentum. I like to write my code like an engineer and I am very specific about how I write it. I think AI has good uses for the future but it just makes me sad to think about how anyone can AI generate code and it makes my deep understanding not as cool anymore. My projects matter less, anyone could just instantly generate the code for the game I spent years on. I’m not special anymore nor are my projects. It’s just a little sad. I think about C++26 and C++29, is anyone even going to care about these things anymore with the obsolescence of people who use these features by hand… idk. I get in ruts like this someone and I just have to ignore it. I want to hear everyone else’s opinions especially ones who are very opinionated about programming features and care about their code very much like I do.

Sometimes though I think about ways I program that an AI wouldn’t do, such as my excessive and opinionated use of unsigned integers with explicit cstdint types and the lowest possible bit amount for the variable, while AI will just use standard int. Another one is how I try to avoid dynamic allocations whenever possible, even for silly things like microoptimiaztions, for file paths I’ll do a 4096 stack buffer over dynamic allocation. Makes me feel like I have somewhat of a voice.

https://redd.it/1yajs5y
@r_cpp
Why we shouldn't want a remote package registry, universal package manager or a binary toolchain orchestrator

Hi, as most of you now, we get cargo good cmake bad posts and comments here nearly every week.

I want to write a definitive post to answer these criticisms. In this post I'm going to argue for a decentralized approach instead, and will try to list some cons and pros of this approach.

Cargo is the package manager of the rust language, it stores packages in source form in a remote registry called crates.io, It also sort of acts as a build system, as you invoke it directly, rather than calling the package manager first then the build system. The problem with this approach is that you don’t own sources, you don’t know about licenses. If one of your packages break, trying to fix it is very annoying. Also builds are very slow, since you don’t have local binary cache for packages. Additionally, unlike a sane dependency model as proposed by Titus Winters. Cargo relies on semver. This means your dependency tree will not scale and will be hard to maintain.

Rustup is a toolchain orchestrator tool that downloads compiler, stdlib and various other tools from the internet.

It seems very nice to be able to setup a toolchain in seconds, as opposed to doing that with c++ which takes very long.

The drawback of this approach is the lack of knowledge about dependencies of your tools wnd especially stdlib. You need to know what version of xcode or msvc you app is compiled against.

What to do then?

We need a decentralized solution, organizations should clone their deps from a remote and write package recipes for them, we need some sort of organization to collaborate and several standards to make this easier, such as a binary package format.

Cargo and rustup are currently more closer to web technologies in toolchain departmant than c++, I don’t see why everyone is so obsessed about it. There is a new slop project written on it every minute, and we think that's a good thing. It is not, it made library quality very questionable.

Wrote on my phone so probably a lot of typos.

https://redd.it/1yaj399
@r_cpp
More community member should join this community

I think many of our discussions went unseen by community member very few member are there in the community who are active I think .If there more community members the discussion will come to some result,some point . What is your opinion on it?

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