Welcome to SwedenCpp
Latest blogs, videos, podcasts and releases in one stream
Thursday, July 2, 2026
The case of the thread executing from an unloaded third-party DLLOops, I didn't realize that I was still doing that. The post The case of the thread executing from an unloaded third-party DLL appeared first on The Old New Thing .📝The Old New Thing
Depth Buffer [OpenGL Episode 40]🎥Mike Shah
std::vector - a dynamic array [Learn C++ Shorts Lesson 14]🎥Mike ShahIf this page is useful, please consider donating a coffee
Wednesday, July 1, 2026
CMake 4.4.0-rc3 is ready for testingThe third CMake 4.4.0 release candidate!📝Kitware Inc
The Political Economy of C++ KeywordsClasses are an inevitable human condition.📝My Very Best AI Slop
imgui, dear_bindings, d bindings walkthrough🎥Mike Shah
imgui, dear_bindings, d bindings walkthrough🎥Mike Shah
A Cross-Platform Rust UI Framework via Qt’s Bridging TechnologyRust has achieved something extraordinary: it genuinely excites people to write software. But when it comes to building a real user interface, the ecosystem is still finding its footing. There are numerous options to pick your Rust UI framework from, including those gaining traction, like Iced and egui. Most of the available UI frameworks, however, are still establishing themselves in production environments and fall short in feature-richness. Qt Bridges, a bridging technology in public beta for Rust, brings something different to the table: over three decades of real-world use, commercial support, and a framework that already runs in automotive dashboards, medical devices, and industrial systems worldwide. Qt Bridge for Rust makes that maturity available to Rust developers, providing access to a UI framework that lets you keep your Rust codebase while using Qt Quick’s feature-rich UI libraries and APIs, hardware acceleration, and genuine cross-platform support.📝Qt Blog
Qt Bridges: Public Beta for the Rust Bridge Is Out!Qt Bridges is a project we have been developing since 2025 to bring Qt’s UI framework capabilities to other programming languages, without going through the full set of bindings. The focus is on the interaction with backend data objects, seamlessly integrated as QML components in a Qt Quick interface.📝Qt Blog
Let's make a programming language!🎥PVS-Studio
It rather involved being on the other side of this airtight hatchway: Changing administrative settingsUnlocking the door from the inside. The post It rather involved being on the other side of this airtight hatchway: Changing administrative settings appeared first on The Old New Thing .📝The Old New Thing
Database Synchronisation for Audio Plugins, Part Two - Here's One I Made Earlier - Adam Wilson - ADC🎥audiodevcon
Improving Embedded Software Quality With Parasoft C/C++test, CLion, and AIEmbedded software development comes with a unique set of pressures: strict safety and security standards, complex toolchains, and the constant challenge of catching defects as early as possible. Starting with CLion 2026.1.2, you can open SARIF findings from Parasoft C/C++test analyses for standards such as MISRA C/C++, AUTOSAR C++14, CERT C/C++, and CWE directly in […]📝CLion : A Cross-Platform IDE for C and C++ | The JetBrains Blog
Some recent discoveriesFirst images of PHerc. 1667. When Vesuvius buried Herculaneum, it turned many papyrus scrolls in the Villa dei Papiri to burnt hunks of carbon without destroying their physical structure. Since the 2010s (or earlier?), people have tried to non-invasively image what remains of the scrolls. In June 2026, the latest “Vesuvius Challenge” prize was awarded to a team who successfully imaged the first “complete” scroll. The team’s report (“Complete virtual unwrapping and reading of a rolled Herculaneum papyrus”, Angelotti et al., 2026) points out that the scroll is even less “complete” than it used to be: invasive efforts in the late 20th century had already reduced it from about 14 grams of carbonized gunk to about 6 grams. The group’s full transcription consists of only 300 to 400 complete words. They identify PHerc. 1667 as some sort of philosophical treatise — unsurprising, as many of the scrolls that could already be deciphered turned out to be works of Philodemus. Contrary to some media reports, the title of PHerc. 1667’s work is unknown; but a separate finding reported in the same paper identifies PHerc. 139 as book 8 of Philodemus’s On gods (περὶ θεῶν, book Η).📝Arthur O’Dwyer
Hub is hereDuring Q2 2026, I’ve been working in the following areas: boost::container::hub The Boost official review took place April 16-26. The library was accepted as part of Boost.Container. Many thanks to the review manager, Ion Gaztañaga, and all the people who participated: Arnaud Becheler, Matt Bentley, Matt Borland, Dominique Devienne, Peter Dimov, Emil Dotchevski, Alexander Grund, Andrzej Krzemieński, Christian Mazakas, Peter Turcan. During April-June I implemented the feedback received (PR#20), and after that Ion took over and migrated the code and documentation to Boost.Container (adding some interesting performance improvements that I helped a bit with). boost::container::hub will be released in Boost 1.92 (August 2026), after which the original repo will be deprecated or removed. Boost.Unordered Added interoperability with C++20 ranges to all the containers in the library (PR#355). Reviewed and merged PR#348 from Daniel Král (performance issue with closed-addressing containers when rehashing at very large container sizes). Written maintenance fixes PR#346, PR#351, PR#352, PR#353, PR#354. Addressed documentation issues #349, #350. Boost.MultiIndex Fancy pointer support has been extended so that multi_index_container iterators now store references to the elements through the allocator’s pointer type (PR#100). In particular, this means that iterators can now be placed in shared memory using Boost.Interprocess allocators. Reviewed and merged PR#94 from Daniel Král (performance issue when rehashing at very large container sizes). Reviewed and merged PR#98 from Jonathan Wakely. Written maintenance fixes PR#97, PR#99. Boost.ICL As discussed in a previous entry, recent changes in libc++ v22 broke this library. These changes are related to the fact that non-heterogeneous lookup for associative containers is poorly specified in the C++ standard. I filed a LWG issue and defended a resolution with the LEWG that was consistent with the original semantic assumptions of Boost.ICL, but this resolution was not accepted (Brno, May 10). There was a fix on hold (PR#54) pending acceptance from ICL’s maintainer, but he’s been unavailable and in the end I requested write permission to the repo and merged the PR so that it makes it in time for Boost 1.92. The PR includes some additional fixes not related to the core issue. Boost.Bloom Reviewed and merged PR#46 from Jonathan Wakely. Written maintenance fix PR#47. Boost.Graph I had the honor to participate remotely in the Boost.Graph Workshop held in Paris, May 6, where I presented some simple ideas towards modernization of BGL API. Support to the community I’ve been helping a bit with Mark Cooper’s very successful Boost Blueprint series on X. Supporting the community as a member of the Fiscal Sponsorship Committee (FSC).📝The C++ AllianceTuesday, June 30, 2026
2026 mid-year link clearanceMade it to another midpoint. The post 2026 mid-year link clearance appeared first on The Old New Thing .📝The Old New Thing
A compatibility note on the abuse of Windows window class extra bytesFinding an illicit place to hide data. The post A compatibility note on the abuse of Windows window class extra bytes appeared first on The Old New Thing .📝The Old New Thing
Boost.Documentary | Official Teaser🎥C++ Alliance
From Genetics to Graphs: Arnaud Becheler on Boost.Graph & the C++ Community🎥C++ Alliance
for-each loop, std::algorithm and more std::arrays [Learn C++ Shorts Lesson 13]🎥Mike ShahMonday, June 29, 2026
Code slicing: What lies inside OrcaSlicerHow can you avoid overlooking dangerous code parts during reviews? You can use static analysis tools. Let's take as an example OrcaSlicer, a popular slicing software designed to prepare 3D models for...📝from pvs-studio.com
O(1) or O(no-no-no) - Mastering the unordered_map - Kevin Carpenter🎥CppOnline
The evolution of window and class extra bytes in WindowsThe intended usage is encoded in the prefix. The post The evolution of window and class extra bytes in Windows appeared first on The Old New Thing .📝The Old New Thing
C++ Weekly - Ep 539 - Modernizing C++ with AI🎥Jason Turner
Beyond iLok: Advanced Code Protection and Cryptography for the Next Generation - ADC 2025🎥audiodevcon
Gor Nishanov (1971-2026)I am deeply saddened to report that this weekend, far too soon, we lost Gor Nishanov: a friend and colleague, an extraordinary software engineer, and a long-serving member of the C++ standards committee. Gor was always intelligent and witty, but above all he was kind and generously helpful to others. I especially appreciated the times … Continue reading Gor Nishanov (1971-2026) →📝Sutter’s Mill
D Programming Language Quick Start 1 (Live coding)🎥Mike Shah
Why a Quantity Has a CharacterWhy a Quantity Has a Character A few years ago at CppCon, an engineer who works with electrical power systems every day stopped me after a talk. He told me that his team confuses active power , reactive power , apparent power , and complex power all the time, and that the mistake is easy to make and expensive to find. Then he said the sentence that has stuck with me since: a units library that will not make those four incompatible types is of no use in his industry. He is right. And he is not alone.📝mp-unitsSunday, June 28, 2026
New York panel video is now onlineFour weeks ago I was in downtown Manhattan for the world premiere event for C++: The Documentary. It was great to see two theaters full of enthusiastic C++ developers, and getting to mingle with them all before and after the film. Afterwards we had a live panel: Bjarne Stroustrup, Gabriel Dos Reis, Nina Ranns, Eric Lubin, … Continue reading New York panel video is now online →📝Sutter’s Mill
New static analyzers for Go, JavaScript, and TypeScript🎥PVS-Studio
Contrapunk - From Palestrina's Rules to Real-Time MIDI Harmony - Vibhav Bobade - ADCx India 2026🎥audiodevcon
Programming Dynamic Task Graph using Modern C++🎥GlobalCpp
C++ std::arrays [Learn C++ Shorts Lesson 12]🎥Mike ShahSaturday, June 27, 2026
C++ The Documentary: Live Panel Discussion with Bjarne Stroustrup, Herb Sutter & More🎥CppConFriday, June 26, 2026
CMake 4.3.4 available for downloadCMake 4.3.4 available for download📝Kitware Inc
C++ Singletons Are Not Evil - You’re Just Using Them Wrong🎥CppOnline
The case of the DLL that was not present in memory despite not being formally unloaded, part 2Tying two bugs together. The post The case of the DLL that was not present in memory despite not being formally unloaded, part 2 appeared first on The Old New Thing .📝The Old New Thing
Why Do People Actually Buy Music Software, Anyway? - James Russell - ADC 2025🎥audiodevcon
PVS-Studio 7.43: Unreal Engine support in Team license, extended MISRA C++ 2023, Zephyr SDK support🎥PVS-Studio
A new version of PVS-Studio 7.43 has been released🎥PVS-Studio
PVS-Studio 7.43: Unreal Engine support in Team license, extended MISRA C++ 2023, Zephyr SDK support🎥PVS-Studio
C++ Scope and Curly Braces [Learn C++ Shorts Lesson 11]🎥Mike Shah
synchronized, scope lock with RAII - Concurrency - Part 4 of N [D Language - Dlang Episode 151]🎥Mike Shah