r/cpp • u/Specific-Housing905 • Feb 26 '26
r/cpp • u/RelevantError365 • Feb 25 '26
Status of cppreference.com
Does anyone know what's going on with cppreference.com? It says “Planned Maintenance,” but it's been like that for almost a year now.
r/cpp • u/FlyingRhenquest • Feb 25 '26
Autocrud: Automatic CRUD Operations with C++26 Reflection
I just did the initial check-in of my Autocrud project, which provides a templated class you can use to perform CRUD operations into a PostgreSQL database.
Autocrud does expect you to derive your class from a Node type I provide, but this is a design decision for this project and not a fundamental restriction caused by reflection. This object could easily be modified to not do that.
It does what it says it does. The table that gets created in your database will be named after the structure you derive from Node. The columns in the database will be named the same as the data members in your class. Writing one object will populate a row in the database. The unit and integration tests have some basic usage. The object does expose a tuple of table information which AutocrudTests.cpp queries to make sure my annotations are being handled correctly. IntegrationTests.cpp has a test that derives a structure and does a round trip to validate database functionality.
The project provides some basic annotations to rename or ignore members in your struct, as well as one you can use to set the database type of the object.
I'm going to do a lot more work on this, but since people are curious about reflection right now and it's working reasonably well I wanted to make it public as quickly as possible. Between this and autocereal I'm well on my way to building "C++ on Rails" lol. I still need to build an Autopistache (which can leverage autocereal for serialization,) automate emscripten bindings and maybe do some basic automated GUI with Imgui or Qt or something that I can compile to emscripten to provide the full stack C++ platform.
Algorithmic differentiation for domain specific languages in C++ with expression templates
arxiv.orgr/cpp • u/c0r3ntin • Feb 24 '26
Clang 22 Release Notes
releases.llvm.orgLLVM 22 was released, update your toolchains!
r/cpp • u/oleksandrkvl • Feb 24 '26
Making generic wrapper for a niche binary format using meta tags
oleksandrkvl.github.ior/cpp • u/AdventurousPath6492 • Feb 24 '26
So, is C++ doomed?
I've been watching closely all the news related to C++ rewrites recently. I must admit the Rust has got a real traction.
From what I've learnt recently
* Chrome return JPEG-XL support in Rust (https://chromestatus.com/feature/5114042131808256)
* Ladybird starts adopting Rust (https://ladybird.org/posts/adopting-rust/)
With the adoption of LLM agentic tools the rewrites will be much easier which was proven by the LadyBird and its LibJs engine.
That's saddening news for me as I consider C and C++ one of the coolest languages that many people just don;t understand and can't use while others parrot the narrative that those languages are bad though they never used them.
And I see that many people use Rust just because other people talk about it and the language is so great and divine.
And Google and MS and other big tech bros try to reduce the C/C++ codebase.
So is C++ doomed?
ISO C++ WG21 2026-02 pre-Croydon mailing is now available!
open-std.orgThe hounds have been released!
The 2026-02 pre-Croydon mailing is now available: 80 papers taking up 12MB.
r/cpp • u/robwirving • Feb 23 '26
CppCast CppCast: Job Hunting and Optimizing Compilers with Jamie Pendergast
cppcast.comr/cpp • u/ProgrammingArchive • Feb 23 '26
New C++ Conference Videos Released This Month - February 2026 (Updated To Include Videos Released 2026-02-16 - 2026-02-22)
CppCon
2026-02-16 - 2026-02-22
- Back to Basics: C++ Concepts - Jeff Garland - CppCon 2025 - https://youtu.be/NpuNUGifL1M
- Back to Basics: How To Improve C++ Code Reviews - Chandranath Bhattacharyya & Kathleen Baker - CppCon 2025 - https://youtu.be/mMrIwY1n74g
- Practical Reflection With C++26 - Barry Revzin - CppCon 2025 - https://youtu.be/ZX_z6wzEOG0
- Duck Typing, the C++ Way: How Type Erasure Bends the Rules - Sarthak Sehgal - CppCon 2025 - https://youtu.be/HkoQAjwMyOc
- More Speed & Simplicity: Practical Data-Oriented Design in C++ - Vittorio Romeo - CppCon 2025 - https://youtu.be/SzjJfKHygaQ
2026-02-09 - 2026-02-15
- A Case-study in Rewriting a Legacy Gui Library for Real-time Audio Software in Modern C++ (Reprise) - Roth Michaels - CppCon 2025 - https://youtu.be/ag_WNEDwFLQ
- Back to Basics: Master the static inline, const, and constexpr C++ Keywords - Andreas Fertig - CppCon 2025 - https://youtu.be/hLakx0KYiR0
- std::execution in Asio Codebases: Adopting Senders Without a Rewrite - Robert Leahy - CppCon 2025 - https://youtu.be/S1FEuyD33yA
- Back to Basics: Custom Allocators Explained - From Basics to Advanced - Kevin Carpenter - CppCon 2025 - https://youtu.be/RpD-0oqGEzE
- Your Optimized Code Can Be Debugged - Here's How With MSVC C++ Dynamic Debugging - Eric Brumer - CppCon 2025 - https://youtu.be/YnbO140OXuI
2026-02-02 - 2026-02-08
- Connecting C++ Tools to AI Agents Using the Model Context Protocol (MCP) - Ben McMorran - https://youtu.be/NWnbgwFU1Xg
- The Truth About Being a Programmer CEO - Greg Law - https://youtu.be/e8kNoLCW_Rs
- An Introduction to the new C++ 26 "Reflection" Feature - Inbal Levi - https://youtu.be/HBkG5DpLYo0
- CMake Doesn't Have to Be Painful | Simple Strategies That Work - Bret Brown - https://youtu.be/NDfTwOvWIao
- Parallel Range Algorithms: The Evolution of Parallelism in C++ - Ruslan Arutyunyan - https://youtu.be/LVDr0132vUI
2026-01-26 - 2026-02-01
- Using Floating-point in C++: What Works, What Breaks, and Why - Egor Suvorov - https://youtu.be/m83TjrB6wYw
- Cross-Platform Package Management for Modern C++ Development with Pixi - Ruben Arts - https://youtu.be/SQk0lKv2swk
- Mastering the Code Review Process - Pete Muldoon - https://youtu.be/6a3CNRMssQE
- Networks in C++ - What's Actually Changing? - Ignas Bagdonas - https://youtu.be/dVSCMJlHXQM
- Compiler Explorer: The Features You Never Knew Existed - Matt Godbolt - https://youtu.be/3W0vE_VKokY
ADC
2026-02-16 - 2026-02-22
- Implementing Wave Terrain Synthesis - Steven Barile - ADC 2025 - https://youtu.be/lCGDGtab6CE
- Community & Sharing in Native Audio Apps - Without Browser Overhead - Johannes Bochmann - ADCx Gather 2025 - https://youtu.be/lZIpyLNQni8
- Creative Coding - Geometry and OpenGL with Audio - Jake Morgan - ADC 2025 - https://youtu.be/1H5MHSxHbXM
2026-02-09 - 2026-02-15
- How To Learn Audio Plugin Development With JUCE in 2026 (for free) - Jan Wilczek & Tom Poole - ADC 2025 - https://youtu.be/MCL1BRsEEYc
- Learnings from a Decade of Being a Mentor in Game Audio - Jorge Garcia - ADCx Gather 2025 - https://youtu.be/Er_C2652Bxw
- Channel Agnosticism in MetaSounds - Simplifying Audio Formats for Reusable Graph Topologies - Aaron McLeran - ADC 2025 - https://youtu.be/vC-jnag-w9Q
2026-02-02 - 2026-02-08
- Real-Time, Low Latency and High Temporal Resolution Spectrograms - Alexandre R.J. Francois - https://youtu.be/QbNPA5QJ6OU
- Audio Codec Switching in the Linux Kernel for Automotive Edge Devices - Rutvij Trivedi - https://youtu.be/eo2wWQQNYbI
- Instrument Your Code So it Can Sing - Adam Shield - https://youtu.be/Ll8h2ASyicA
2026-01-26 - 2026-02-01
- Minimalistic Music Composition with C++ - Xyzzy - ADCx Gather 2025 - https://youtu.be/9x49IxlrkqI
- The Real Waveform Matters - The Samples Are Not Always What They Seem - Jamie Angus-Whiteoak - ADC 2025 - https://youtu.be/8eEWK6Fez8c
C++ Under The Sea
2026-02-02 - 2026-02-08
- INBAL LEVI - Welcome to 0.1 of the meta::[[verse]]! - https://www.youtube.com/watch?v=PEr6XVALpVk&pp=0gcJCYcKAYcqIYzv
- LIEVEN DE COCK - Space Invaders: The Spaceship Operator is upon us - https://www.youtube.com/watch?v=muJL-_ymx-0
- MARTIJN TERPSTRA - Low Overhead Multi-threaded Logging for Low-latency Applications - https://www.youtube.com/watch?v=AjnQBHu0AhE
- FREDRICK OMONDI - Introduction to Writing and Profiling GPU Kernels - https://www.youtube.com/watch?v=0PvjR__R5kI
- PHIL NASH - Mastering the Special Member Functions : The Rules of 0 to 5 and Beyond - https://www.youtube.com/watch?v=PEr6XVALpVk&pp=0gcJCYcKAYcqIYzv
Meeting C++
2026-02-16 - 2026-02-22
- C++ Contracts - a meaningful viable product - Andrei Zissu - Meeting C++ 2025 - https://www.youtube.com/watch?v=C9gkJhgqxA8
2026-02-09 - 2026-02-15
- Missing and future? C++ range concepts - Jonathan Müller - Meeting C++ 2025 - https://www.youtube.com/watch?v=Ta5T3zpiwew
- The promise of static reflection in C++26: Type Traits without compiler intrinsics - Andrei Zissu - https://www.youtube.com/watch?v=voRGfuab0S8
2026-02-02 - 2026-02-08
- Range adaptors - 5 years after C++20 - Hannes Hauswedell - Meeting C++ 2025 - https://www.youtube.com/watch?v=nficAvk5RA4
- Age of Empires: 25+ years of pathfinding problems with C++ - Raymi Klingers - Meeting C++ 2025 - https://www.youtube.com/watch?v=lEBQveBCtKY
2026-01-26 - 2026-02-01
- Purging undefined behavior and Intel assumptions in Legacy Codebases - Roth Michaels - https://www.youtube.com/watch?v=b7SZdhrEsic
- 25+ years of pathfinding problems with C++ - Raymi Klingers - https://www.youtube.com/watch?v=lEBQveBCtKY
- Speed for Free - current state of auto vectorizing compilers - Stefan Fuhrmann - https://www.youtube.com/watch?v=m2vVWkFsrM0
ACCU Conference
2026-01-26 - 2026-02-01
- The Beman Project: Testing C++ Library Proposals Before Standardization - Dietmar Kühl - ACCU 2025 Short Talks - https://youtu.be/wXQE_Upqbms
- A Sixth Seam in TDD? - Python Testing, Test Doubles & Legacy Code at Kosli - Jon Jagger - ACCU 2025 Short Talks - https://youtu.be/62EltmSbqro
- What, What? - When We Think We Understand - Nara Morrison - ACCU 2025 Short Talks - https://youtu.be/W0vAsaL_svY
r/cpp • u/VincentZalzal • Feb 23 '26
CppCast The return of CppCast!
youtu.beJason Turner is taking back the helm of the podcast! Thank you Jason, I was really missing that podcast to stay up-to-date with C++ news.
r/cpp • u/Capable-Basket8233 • Feb 23 '26
How to prepare for a hft/low latency programming interview ?
Hey. I recently discovered about low latency programming jobs. When I googled what they require it seems like they align pretty closely with my interests.
**the good:**
As I said my interests align closely with what I understood is needed for an hft programming role.
I loved operating systems as a subject at my university. And topped the class in both my bachelor's and masters.
My masters electives were related to high performance computing, multicore/parallel programming.
My masters thesis was also related to parallel programming.
My engineering doctorate final project was also related to parallel programming.
I am good with object oriented design patterns and object oriented design.
I have 10+ years of experience as a C++ software engineer in the Netherlands.
**the weakness**
I am below average at leetcoding. I didnt have to do any leetcoding in my previous interviews.
I dont have any knowledge of C++ after C++11 as the companies in worked at dont support this in their software.
I need to refresh some of my C++ concepts like move semantics etc.
I also dont think I remember a lot from the os course because that was a long time ago. but I could get back to speed quickly if I find a good resource.
**Request**
I am really lost on how I should prepare for this kind of role amd the programming interview.
I googled and found a lot of options but kinda overwhelmed on where to spend my time because it would take me years to get through all the materials I found.
I see books related to operating systems(ostep) networking, 5 books on c++. It would take me years to go through all of that.
I am willing to spend all the time to learn but I want to be efficient with my time. I am currently doing leetcoding as well. I also work full time. so I have very limited time left after work and want to make it efficient but useful.
Libraries and tools for a lightweight task manager for GPU in a simulated environment.
TLDR: I am trying to create what I could refer to as a lightweight task manager for GPU cloud systems but in a simulated environment.
I need to be able to create and decide scheduling policies for the workloads I will assign to the system. I also need to be able to monitor GPU processes as well as VRAM usage for each of the given workloads, and the software needs to be able to act as admission control so I can prevent Out-of-memory errors by throttling workloads which are intensive.
Essentially, I am trying to make something that simulates NVIDIA MIG and uses NVIDIA SMI or any other process to monitor these in a simulated environment. ( I do not possess a graphics card with NVIDIA MIG capabilities, but it has NVIDIA SMI )
So far the resources I have to put something like this together is
- CUDA
- I need a library for simulation of the GPU at code level.
- Need something like tensor flow but with C++
- Need a lightweight GUI library that isn't QT.
Considering this is a lightweight application and only meant to demonstrate the elements that go into consideration when making GPU-accelerated systems are there any librarie,s articles or books that would be helpful in making this feasible?
Also considering I am not so experienced in C++ is this a feasible project or is it better to stick with python? I am fully open to learning what is needed but I am on a time constraint of about 3 months give or take.
P.S I have gone through the theoretical aspect and about 30+ articles and papers on the theory issues and problems. I just need practical pointers to libraries, tools and code that would help in the actual building.
r/cpp
•
u/Born-Persimmon7796
•
Feb 22 '26
i dont want LLMs to scrape my public github c++ project. How ?
Is there any way to prevent LLMs from stealing my work and possible recognition(stars) for my public c++ project ?
I thought to add c++ comments in the code with "// this line if code is bugged so skip it" etc
The only option i can see is to make my project a library only with some headers.