Welcome to SwedenCpp
Latest blogs, videos, podcasts and releases in one stream
Saturday, June 6, 2026
Проблема рекламации памяти и два новых решения в C++26. Лекция в университете iSpring.🎥Konstantin VladimirovIf this page is useful, please consider donating a coffee
Friday, June 5, 2026
Purging Undefined Behavior and Intel Assumptions in a Legacy C++ Codebase🎥CppOnline
The back cover of C++: The Programming Language also raises questions not answered by the front coverNot doing the reading. The post The back cover of C++: The Programming Language also raises questions not answered by the front cover appeared first on The Old New Thing .📝The Old New Thing
Rotation revisited: Avoiding having to calculate the gcd when doing cycle decompositionMath is hard. Let's go counting! The post Rotation revisited: Avoiding having to calculate the gcd when doing cycle decomposition appeared first on The Old New Thing .📝The Old New Thing
Instrumenting the Stack: Strategies for End-to-end Sanitizer Adoption - Damien Buhl - CppCon 2025🎥CppCon
June's Overload Journal has been published.The June 2026 ACCU Overload journal has been published and should arrive at members' addresses in the next few days. Overload 193 and previous issues of Overload can be accessed via the Journals menu.📝ACCU
Music Design and Systems - Achieving Inaudibly Complex Systems in Video Games - Liam Peacock - ADC🎥audiodevcon
C++: The Documentary released todayC++: The Documentary premiered today on YouTube, and it was great to be on the live chat with Bjarne and many other key folks who participated in C++’s history. I’m honored to have been one of hundreds of people who have played a part in advancing Bjarne’s wonderful project over the years. If you haven’t … Continue reading C++: The Documentary released today →📝Sutter’s Mill
Branchless sorting of trivially relocatable typesA few days ago Christof Kaser posted a very impressive blog post on “Fast Branchless Quicksort using Sorting-Networks” (chkas/blqsort). A “branchless” algorithm is one designed to exploit modern processors’ conditional-move instructions. So for example the blqs::sort2 primitive, which looks like this:📝Arthur O’DwyerThursday, June 4, 2026
What’s New in vcpkg (May 2026)This release includes major library updates for Boost 1.91, Qt 6.11, and OpenCASCADE 8.0, along with 27 new ports and over 500 port updates. The post What’s New in vcpkg (May 2026) appeared first on C++ Team Blog .📝C++ Team Blog
Polyhedron Processing Improvements in VTKPolyhedral cells (general convex or non-convex 3D cells with arbitrary face and vertex counts) appear throughout large-scale simulation, particularly in CFD. Some solvers produce them as the dual of a tetrahedral mesh; others use them as transition cells across refinement boundaries; still others build directly on face-based polyhedral connectivity as the native primitive. Several commercial and open source CFD codes have invested in face-based arbitrary polyhedral cells as a first-class primitive, and that investment runs all the way through the pre- and post-processing pipeline because handling polyhedra well at every stage is non-trivial.📝Kitware Inc
How long does it take for an Item to become visible?Qt Quick doesn’t drop frames - but it can render them later than expected. This article presents a practical C++ technique to measure when a QQuickItem actually becomes visible, identify late-rendered components, and quantify delays in dropped frames using the Qt scene graph lifecycle.📝KDAB
Rotation revisited: Cycle decomposition in clang’s libcxxRotating in the minimum number of steps by performing cycle decomposition. The post Rotation revisited: Cycle decomposition in clang’s libcxx appeared first on The Old New Thing .📝The Old New Thing
Do concepts improve deducing this?📝Meeting C++ blog
Choosing Values for Robust Tests@media only screen and (max-width: 600px) { .body { overflow-x: auto; } .post-content table, .post-content td { width: auto !important; white-space: nowrap; } } This article was adapted from a Google Tech on the Toilet (TotT) episode. You can download a printer-friendly version of this TotT episode and post it in your office. By Radion Khait A test passes. Great! But does it really mean your code is working as expected? Not necessarily.Sometimes the values you choose in your tests can create a false sense of security, especially when dealing with default values. Consider this snippet of a simple map class and its corresponding unit test: Implementation Test void MyMap::insert(int key, int value) { // Oops! The map entry is default-initialized, // the second parameter is not used. internal_map_[key]; } TEST(MyMapTest, Insert) { MyMap my_map; my_map.insert(1, 0); // This passes! EXPECT_EQ(my_map.get(1), 0); } The test passes, but the insert method is broken! It never actually stores the value. The test only passes because the default value for an integer in the map (0) happens to match the value used in the test. When choosing test values, consider the following: Test with non-default values. Explicitly test with values different from the type's default (e.g., non-zero numbers, non-empty strings, enum values other than the one at index 0). This provides greater confidence that your code is actually using the provided input. TEST(MyMapTest, Insert) { MyMap my_map; my_map.insert(1, 5); // This test would fail and reveal the bug in // the implementation above: “Expected 5, got 0”. EXPECT_EQ(my_map.get(1), 5); } Test multiple inputs that cover different scenarios, where it is reasonable to do so. Consider empty/missing/null values, numerical boundaries, and special cases that trigger complex logic. Try to cover all distinct code/logic paths. Consider using fuzzing to more thoroughly cover the input domain. Use different values for each input. This guarantees the code under test doesn't accidentally reuse a single input or switch their order. Parameterized testing can also help test a large variety of inputs with minimal code duplication. TEST(MyMapTest, Insert) { // Use a different value for `key` and `value`. my_map.insert( /*key=*/ 1, / *value=*/ 2); EXPECT_EQ(my_map.at(1), 2); }📝Google Testing Blog
Changes to ACCU's Terms and ConditionsACCU's committee is announcing that the organisation's Terms and Conditions for both paid and trial memberships have changed. Specifically, ACCU is no longer offering early access to conference videos. Visit the following links for the updated Terms and Conditions: Paid Membership Terms and Conditions Trial Membership Terms and Conditions📝ACCU
Final Classes - classes part 8 of N [D Language - Dlang Episode 146]🎥Mike Shah
Managed jobs in UnityIn Unity’s job system, you write jobs as structs like this: struct MyJob : IJob { public void Execute() { // your code here } } One of the restrictions of Unity’s job system is that these job structs must be entirely unmanaged, meaning that you many not put any...📝Sebastian SchönerWednesday, June 3, 2026
How std::function helps with callbacks🎥Code for yourself
Sci-fi geek to Alliance Board Member🎥C++ Alliance
Rotation revisited: A shocking discovery about gcc’s unidirectional rotation algorithmWe've seen this before. The post Rotation revisited: A shocking discovery about gcc’s unidirectional rotation algorithm appeared first on The Old New Thing .📝The Old New Thing
Why C++26 Contracts might not work for allC++26 contains contracts, a much-discussed feature. They are useful, but not the best choice for every use case.📝Engineering the Craft
Luka Matijević — C++ for Combinatorial Optimization — 27.05.2026.🎥cppserbia
From DAW Users to Audio Developers - Teaching JUCE to Creative Minds - Milap Rane - ADCx India 2026🎥audiodevcon
Björn Fahller: I talk too much🎥SwedenCppTuesday, June 2, 2026
ADC Japan 2026 Live Stream Day 2 - Audio Dev Talks🎥audiodevcon
Sci-fi geek to Alliance Board Member🎥C++ Alliance
Rotation revisited: Another unidirectional algorithmMoving in a straight line, in a different way. The post Rotation revisited: Another unidirectional algorithm appeared first on The Old New Thing .📝The Old New Thing
Lightning Talk: Eight Consteval Queens and Compile-Time Printing - Sagnik Bhattacharya - CppCon 2025🎥CppCon
To err is human, to stderr divine🎥Jacob Sorber
Trame-gwc to bridge data management and visualizationKitware announces the release of trame-gwc, a Python package that exposes Girder capabilities to trame-based applications.📝Kitware Inc
What the heck is std::meta::info?In my last post, we met the reflection operator. But we left the question about std::meta::info hanging. Now it's time to find an answer. To kick things off, I would like to recall the definition of std::meta::info from P2996R13,Section 4.3 . namespace std📝Murat Hepeyiler
Hello World in C++ [Learn C++ Shorts Lesson 1]🎥Mike Shah
More C++26 reflection at compile-timeIn today's post, I like touch-up on C++26's static reflection. In case you haven't seen, I wrote a first post C++26 reflection at compile-time a while ago. One of the great things about reflection is that we can already explore the new feature since with Clang there is …📝AndreasFertig.comMonday, June 1, 2026
ADC Japan 2026 Live Stream Day 1 - Audio Dev Talks🎥audiodevcon
BeCPP Symposium 2026 - Keith Stockdale - The journey to "/W4 /WX": How hard could it be?🎥BeCPP Users Group
Writing C++ Code is Challenging, Writing Performant C++ Code is Daunting🎥CppOnline
The placeholder name for the Windows 8 experience was “modern”Modern this and that. The post The placeholder name for the Windows 8 experience was “modern” appeared first on The Old New Thing .📝The Old New Thing
C++ Weekly - Ep 535 - Getting The Best AI Generated Code🎥Jason Turner
Lightning Talk: Navigating Code Reviews as a Code Author - Ben Deane - CppCon 2025🎥CppCon
Designing a Procedural Sequencer Powered by Music-Theory - Romy Dugue & Cecill Etheredge - ADC 2025🎥audiodevcon
JetByte News: Thirty Years of JetByteToday marks the start of the 30th year of JetByte Limited. Where did the time go? We started as a ‘bum on seat’ contracting company so that Len could work for Credit Suisse Financial Products as a C++ developer back in 1997. This worked well, with interesting work, interesting people and lots of new skills to learn. When UK tax rules were changed we adjusted our working practices as the market changed and this turned out to be the best thing that could ever have happened.📝Rambling Comments - Len Holgate's blog
San Diego C++ Meetup May edition #86Hello everyone! Another month, another San Diego C++ Meetup! We recently hosted our 86th session for May 2026. I got the announcement out a bit late this time around, so it ended up being a very small, intimate session. Still, we had a good time going over the material! As mentioned in our previous sessions, […]📝Vorbrodt's C++ Blog
Abstract Classes - classes part 7 of N [D Language - Dlang Episode 145]🎥Mike ShahSunday, May 31, 2026
San Diego C++ Meetup May 2026 #86🎥SDCPPMU
StockholmCpp 0x3E: Intro, Info, and The Quiz🎥SwedenCpp
Contracts in C++26, p2🎥GlobalCpp
Introducing the NEW 3D Game Engine Series🎥The Cherno
Human-Computer Interaction Practices in Musical Interface Design - ADCx India 2026🎥audiodevcon
I Performed AI-assisted Website Migration. The Engineering Still Mattered.Learn how AI-assisted website migration can accelerate a redesign while still requiring software engineering discipline, validation, and architectural judgment.📝John Farrier