What are all different industries C++ developers works mostly? And changing industry in C++ niche is possible?
https://redd.it/1y90a7g
@r_cpp
https://redd.it/1y90a7g
@r_cpp
Reddit
From the cpp community on Reddit
Explore this post and more from the cpp community
Specific features you look for in a logger
For the past months I've been developing a c++20 async logging library similar in architecture to Quill or fmtlog. It started out just as a small project mostly for learning more about multithreading and lock-free algorithms, but then it grew to be pretty competitive in feature set and performance, so I decided to try and release it.
It's not ready yet but it's getting there. Performance wise it either beats or matches Quill in frontend latency depending on the cpu, and backend throughput is consistently about twice as high partly thanks to c++20 consteval. Feature wise it is much slimmer than Quill obviously, but that could be an advantage for compile times and general ease of use and configuration (I've focused a lot on making configuration easy).
Now to my question: Outside of the standard feature set like levels, level filtering, rolling file sinks, etc, do you look for any specific features in a logging library? Maybe some specific sink type, structured logging to a niche format, more advanced runtime log filtering (for example filtering on file, named log statement groups, or even individual statements), or something else that comes to mind.
I realise logging is a very mature field and that most things can be done in the popular libraries, but if there's still a feature you want but don't see very often I'd love to know.
https://redd.it/1y92r8y
@r_cpp
For the past months I've been developing a c++20 async logging library similar in architecture to Quill or fmtlog. It started out just as a small project mostly for learning more about multithreading and lock-free algorithms, but then it grew to be pretty competitive in feature set and performance, so I decided to try and release it.
It's not ready yet but it's getting there. Performance wise it either beats or matches Quill in frontend latency depending on the cpu, and backend throughput is consistently about twice as high partly thanks to c++20 consteval. Feature wise it is much slimmer than Quill obviously, but that could be an advantage for compile times and general ease of use and configuration (I've focused a lot on making configuration easy).
Now to my question: Outside of the standard feature set like levels, level filtering, rolling file sinks, etc, do you look for any specific features in a logging library? Maybe some specific sink type, structured logging to a niche format, more advanced runtime log filtering (for example filtering on file, named log statement groups, or even individual statements), or something else that comes to mind.
I realise logging is a very mature field and that most things can be done in the popular libraries, but if there's still a feature you want but don't see very often I'd love to know.
https://redd.it/1y92r8y
@r_cpp
Reddit
From the cpp community on Reddit
Explore this post and more from the cpp community
제가만든c++로만든ln이빠를까요 c++의내장함수ln이더빠를까요
x = 1917
custom\_ln (직접 구현한 커스텀 함수) : 7.5585167430456446,0.0000000000000000)
std::log(c++내장함수) : (7.5585167430456446,0.0000000000000000)
절대 오차 : 0.0000000000000000e+00
custom\_ln\_minimax\_nodiv : 113.983 ms
std::log : 119.788 ms
sink : 1511703348.185087
만약코드가궁금하다면
#include <iostream>
#include <cmath>
#include <bit>
#include <chrono>
#include <array>
#include <iomanip>
#include <limits>
struct LutEntry {
double inv_m;
double ln_m;
};
constexpr std::array<LutEntry, 64> make_ln_lut() noexcept {
std::array<LutEntry, 64> lut{};
for (int k = 0; k < 64; ++k) {
double m = 1.0 + (static_cast<double>(k) + 0.5) / 64.0;
double inv = 1.0 / m;
double u = (m - 1.0) / (m + 1.0);
double w = u * u;
double term = u;
double sum = 0.0;
for (int n = 1; n <= 25; n += 2) {
sum += term / static_cast<double>(n);
term *= w;
}
lut[k] = { inv, 2.0 * sum };
}
return lut;
}
inline constexpr auto LN_LUT = make_ln_lut();
inline double custom_ln_minimax_nodiv(double x) noexcept {
constexpr double LN2 = 0.693147180559945309417232121458;
uint64_t bits = std::bit_cast<uint64_t>(x);
int64_t B = static_cast<int64_t>((bits >> 52) & 0x7FF) - 1023;
uint64_t mantissa_bits = (bits & 0x000FFFFFFFFFFFFFULL) | 0x3FF0000000000000ULL;
double A = std::bit_cast<double>(mantissa_bits);
uint64_t idx = (bits >> 46) & 0x3FULL;
const auto& entry = LN_LUT[idx];
double t = A * entry.inv_m - 1.0;
double t2 = t * t;
constexpr double c1 = 1.00000000000000000;
constexpr double c2 = 0.50000000000000000;
constexpr double c3 = 0.33333333333333333;
constexpr double c4 = 0.25000000000000000;
constexpr double c5 = 0.20000000000000000;
constexpr double c6 = 0.16666666666666666;
constexpr double c7 = 0.14285714285714285;
double odd = c1 + t2 * (c3 + t2 * (c5 + t2 * c7));
double even = c2 + t2 * (c4 + t2 * c6);
double ln_1p_t = t * (odd - t * even);
return static_cast<double>(B) * LN2 + entry.ln_m + ln_1p_t;
}
int main() {
constexpr int ITERATIONS = 100'000'000;
volatile double sink = 0.0;
std::cout << "양수 x를 입력하세요 (종료하려면 q 또는 Ctrl+D):\n";
double x = 0.0;
while (true) {
std::cout << "\nx = ";
if (!(std::cin >> x)) {
if (std::cin.eof()) break;
std::cin.clear();
std::cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
std::cout << "숫자만 입력해 주세요.\n";
continue;
}
if (x <= 0.0) {
std::cout << "양수(> 0)를 입력해 주세요.\n";
continue;
}
double acc1 = 0.0;
auto t0 = std::chrono::high_resolution_clock::now();
for (int i = 0; i < ITERATIONS; ++i) {
acc1 += custom_ln_minimax_nodiv(x);
}
auto t1 = std::chrono::high_resolution_clock::now();
double acc2 = 0.0;
auto t2 = std::chrono::high_resolution_clock::now();
for (int i = 0; i < ITERATIONS; ++i) {
acc2 += std::log(x);
}
auto t3 = std::chrono::high_resolution_clock::now();
sink = acc1 + acc2;
std::chrono::duration<double, std::milli> custom_ms = t1 - t0;
std::chrono::duration<double, std::milli> std_ms = t3 - t2;
std::cout << std::fixed << std::setprecision(3);
std::cout << "custom_ln_minimax_nodiv : " << custom_ms.count() << " ms\n";
x = 1917
custom\_ln (직접 구현한 커스텀 함수) : 7.5585167430456446,0.0000000000000000)
std::log(c++내장함수) : (7.5585167430456446,0.0000000000000000)
절대 오차 : 0.0000000000000000e+00
custom\_ln\_minimax\_nodiv : 113.983 ms
std::log : 119.788 ms
sink : 1511703348.185087
만약코드가궁금하다면
#include <iostream>
#include <cmath>
#include <bit>
#include <chrono>
#include <array>
#include <iomanip>
#include <limits>
struct LutEntry {
double inv_m;
double ln_m;
};
constexpr std::array<LutEntry, 64> make_ln_lut() noexcept {
std::array<LutEntry, 64> lut{};
for (int k = 0; k < 64; ++k) {
double m = 1.0 + (static_cast<double>(k) + 0.5) / 64.0;
double inv = 1.0 / m;
double u = (m - 1.0) / (m + 1.0);
double w = u * u;
double term = u;
double sum = 0.0;
for (int n = 1; n <= 25; n += 2) {
sum += term / static_cast<double>(n);
term *= w;
}
lut[k] = { inv, 2.0 * sum };
}
return lut;
}
inline constexpr auto LN_LUT = make_ln_lut();
inline double custom_ln_minimax_nodiv(double x) noexcept {
constexpr double LN2 = 0.693147180559945309417232121458;
uint64_t bits = std::bit_cast<uint64_t>(x);
int64_t B = static_cast<int64_t>((bits >> 52) & 0x7FF) - 1023;
uint64_t mantissa_bits = (bits & 0x000FFFFFFFFFFFFFULL) | 0x3FF0000000000000ULL;
double A = std::bit_cast<double>(mantissa_bits);
uint64_t idx = (bits >> 46) & 0x3FULL;
const auto& entry = LN_LUT[idx];
double t = A * entry.inv_m - 1.0;
double t2 = t * t;
constexpr double c1 = 1.00000000000000000;
constexpr double c2 = 0.50000000000000000;
constexpr double c3 = 0.33333333333333333;
constexpr double c4 = 0.25000000000000000;
constexpr double c5 = 0.20000000000000000;
constexpr double c6 = 0.16666666666666666;
constexpr double c7 = 0.14285714285714285;
double odd = c1 + t2 * (c3 + t2 * (c5 + t2 * c7));
double even = c2 + t2 * (c4 + t2 * c6);
double ln_1p_t = t * (odd - t * even);
return static_cast<double>(B) * LN2 + entry.ln_m + ln_1p_t;
}
int main() {
constexpr int ITERATIONS = 100'000'000;
volatile double sink = 0.0;
std::cout << "양수 x를 입력하세요 (종료하려면 q 또는 Ctrl+D):\n";
double x = 0.0;
while (true) {
std::cout << "\nx = ";
if (!(std::cin >> x)) {
if (std::cin.eof()) break;
std::cin.clear();
std::cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
std::cout << "숫자만 입력해 주세요.\n";
continue;
}
if (x <= 0.0) {
std::cout << "양수(> 0)를 입력해 주세요.\n";
continue;
}
double acc1 = 0.0;
auto t0 = std::chrono::high_resolution_clock::now();
for (int i = 0; i < ITERATIONS; ++i) {
acc1 += custom_ln_minimax_nodiv(x);
}
auto t1 = std::chrono::high_resolution_clock::now();
double acc2 = 0.0;
auto t2 = std::chrono::high_resolution_clock::now();
for (int i = 0; i < ITERATIONS; ++i) {
acc2 += std::log(x);
}
auto t3 = std::chrono::high_resolution_clock::now();
sink = acc1 + acc2;
std::chrono::duration<double, std::milli> custom_ms = t1 - t0;
std::chrono::duration<double, std::milli> std_ms = t3 - t2;
std::cout << std::fixed << std::setprecision(3);
std::cout << "custom_ln_minimax_nodiv : " << custom_ms.count() << " ms\n";
std::cout << "std::log : " << std_ms.count() << " ms\n";
std::cout << std::setprecision(6);
std::cout << "sink : " << sink << "\n";
}
return 0;
}입니다
https://redd.it/1y94k6o
@r_cpp
std::cout << std::setprecision(6);
std::cout << "sink : " << sink << "\n";
}
return 0;
}입니다
https://redd.it/1y94k6o
@r_cpp
Reddit
From the cpp community on Reddit
Explore this post and more from the cpp community
Comprehensive C++ Logging Benchmarks – 2026 Update & Quill v14
Benchmarks · GitHub
The updated benchmarks compare 11 C++ logging libraries on Linux (Intel and AMD) and Windows, covering call latency, throughput and compile times.
Quill, an asynchronous low-latency C++17 logging library that I maintain, has also reached v14.
As always, feedback is welcome!
https://redd.it/1y990sc
@r_cpp
Benchmarks · GitHub
The updated benchmarks compare 11 C++ logging libraries on Linux (Intel and AMD) and Windows, covering call latency, throughput and compile times.
Quill, an asynchronous low-latency C++17 logging library that I maintain, has also reached v14.
As always, feedback is welcome!
https://redd.it/1y990sc
@r_cpp
Quill
C++ Logging Library Benchmarks: Latency, Throughput, Compile Time - Quill
Comprehensive C++ logging library benchmarks: call latency, throughput and compile time of Quill, spdlog, fmtlog, BqLog, XTR, NanoLog, MS BinLog, Reckless, g3log and Boost.Log on Linux and Windows.
misa77 0.9.0: 2-3x faster decompression than zstd -22, with comparable compression
https://github.com/welcome-to-the-sunny-side/misa77
https://redd.it/1y9g3wn
@r_cpp
https://github.com/welcome-to-the-sunny-side/misa77
https://redd.it/1y9g3wn
@r_cpp
GitHub
GitHub - welcome-to-the-sunny-side/misa77: Ridiculously fast decompression at good ratios. misa77 is 1.5-3x faster than LZ4 for…
Ridiculously fast decompression at good ratios. misa77 is 1.5-3x faster than LZ4 for decompression on x86 and ARM (with better ratios!). - welcome-to-the-sunny-side/misa77
Bottom Up Coroutines in C++
https://forcedrift.github.io/roshaniruku/posts/bottom-up-coroutines-in-cpp/
https://redd.it/1ya4fry
@r_cpp
https://forcedrift.github.io/roshaniruku/posts/bottom-up-coroutines-in-cpp/
https://redd.it/1ya4fry
@r_cpp
Roshan Iruku
Bottom Up Coroutines in C++
A bottom-up tour of C++ coroutines: frames, promises, awaiters, symmetric transfer, future adapters, race conditions, testing, and benchmarks.
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 -
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 -
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 -
YouTube
Why Your C++ Code Needs Composable Callables
ACCU Membership: https://tinyurl.com/ydnfkcyn
---
Creating Composable Callables in Contemporary C++ - Using Senders / Receivers as a Frame Graph - Björn Fahller - ACCU 2026
---
C++ took a huge step in the direction of composability when Ranges were introduced…
---
Creating Composable Callables in Contemporary C++ - Using Senders / Receivers as a Frame Graph - Björn Fahller - ACCU 2026
---
C++ took a huge step in the direction of composability when Ranges were introduced…
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
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
Reddit
From the cpp community on Reddit
Explore this post and more from the cpp community
Visual Studio/MSBuild should have a way to easily consume modules and/or CPS from external libraries
https://developercommunity.visualstudio.com/t/Visual-StudioMSBuild-should-have-a-way/11188994
https://redd.it/1ya5vuw
@r_cpp
https://developercommunity.visualstudio.com/t/Visual-StudioMSBuild-should-have-a-way/11188994
https://redd.it/1ya5vuw
@r_cpp
Visualstudio
Visual Studio/MSBuild should have a way to easily consume modules and/or CPS from external libraries
What is the intended way to consume the modules of an external library? I'm not sure. With header-based libs, you just add to the include and lib path...
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
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
Local models for C++: Qwen3.8-27B FP8 vs QFN IQ4_XS
https://www.reddit.com/r/Qwen_AI/comments/1yad85f/local_models_for_c_qwen3827b_fp8_vs_qfn_iq4_xs/
https://redd.it/1yadaji
@r_cpp
https://www.reddit.com/r/Qwen_AI/comments/1yad85f/local_models_for_c_qwen3827b_fp8_vs_qfn_iq4_xs/
https://redd.it/1yadaji
@r_cpp
Reddit
From the Qwen_AI community on Reddit: Local models for C++: Qwen3.8-27B FP8 vs QFN IQ4_XS
Explore this post and more from the Qwen_AI community
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
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
Reddit
From the cpp community on Reddit
Explore this post and more from the cpp community
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
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
Reddit
From the cpp community on Reddit
Explore this post and more from the cpp community
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
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
Reddit
From the cpp community on Reddit
Explore this post and more from the cpp community