# c/c++

C and C++ are programming languages with documented syntax, semantics, standards, implementations, and development tools.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## RootSink: Reproducible C/C++ Crashes with Tested Repair Sites

DevFeed: [RootSink: Reproducible C/C++ Crashes with Tested Repair Sites](<https://devfeed.tech/articles/rootsink-reproducible-c-c-crashes-with-tested-repair-sites-142181.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.23336>)

Author: Suryansh Singh Sijwali, Achintya Lakshmanan, Abhiram Dodda, Shaiful Chowdhury, Suman Saha

Published: 2026-11-19T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [Fuzzing/Fuzz testing](<https://devfeed.tech/topics/fuzzing.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [c-c-plus-plus](<https://devfeed.tech/tags/c-c-plus-plus.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [crashes](<https://devfeed.tech/tags/crashes.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [repair](<https://devfeed.tech/tags/repair.md>)

### AI overview

RootSink offers 3,341 C/C++ crash records from 354 open-source projects, pairing reported crash sites with candidate root causes and weakness labels with evidence. For 1,954 records in its Reproduced tier, the authors reran the crash and confirmed the fixed version runs cleanly. A single fix hunk independently stopped the crash in 1,275 cases; these are tested repair sites, not necessarily the defects, and 1,273 are labeled as roots. In a blind audit of an earlier version, two co-author raters identified defects at 68% and 92% of tested repair sites they reviewed, compared with 37% and 51% of located roots. The dataset includes tasks, a patch scorer, and run logs.

### Source excerpt

arXiv:2611.23336v1 Announce Type: new Abstract: When a C or C++ program crashes on a crafted input, the line that crashes is often not the line that is wrong. Tools and models that repair or locate vulnerabilities need examples showing both, with evidence for each, which existing datasets rarely provide. RootSink provides 3341 records from 354 open-source projects. Most give the crash site a memory-error detector reported and a candidate location for its root cause, and label each with a weakness type and its evidence. For the 1954 records in the Reproduced tier, we re-ran the crash ourselves and confirmed that the fixed version runs cleanly. In 1275 of these, a single hunk of the developer's fix stopped the crash on its own. That marks a tested repair site, though not necessarily the defect, and 1273 records use it as the root. In a blind audit of an earlier version, two co-author raters called 68% and 92% of the tested repair sites they saw the defect, but only 37% and 51% of that version's located Reproduced-tier roots. RootSink ships with tasks, a patch scorer and run logs.

## A Beginner's Guide to Classes and Objects in C++

DevFeed: [A Beginner's Guide to Classes and Objects in C++](<https://devfeed.tech/articles/a-beginner-s-guide-to-classes-and-objects-in-c-140464.md>)

Original publisher: [Read original article](<https://hackernoon.com/a-beginners-guide-to-classes-and-objects-in-c?source=rss>)

Author: Viktor Tr

Published: 2026-11-18T06:00:02Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Object-oriented programming (OOP)](<https://devfeed.tech/topics/oop.md>), [class](<https://devfeed.tech/topics/class.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [object](<https://devfeed.tech/topics/object.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [2015](<https://devfeed.tech/tags/2015.md>), [2020](<https://devfeed.tech/tags/2020.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [accessible](<https://devfeed.tech/tags/accessible.md>), [after](<https://devfeed.tech/tags/after.md>), [all](<https://devfeed.tech/tags/all.md>), [allows](<https://devfeed.tech/tags/allows.md>), [beginner](<https://devfeed.tech/tags/beginner.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [c-plus-plus-access-specifiers](<https://devfeed.tech/tags/c-plus-plus-access-specifiers.md>), [c-plus-plus-member-functions](<https://devfeed.tech/tags/c-plus-plus-member-functions.md>), [c-plus-plus-object-lifetime](<https://devfeed.tech/tags/c-plus-plus-object-lifetime.md>), [c-plus-plus-oop](<https://devfeed.tech/tags/c-plus-plus-oop.md>), [c-plus-plus-programming](<https://devfeed.tech/tags/c-plus-plus-programming.md>), [c-plus-plus-programming-basics](<https://devfeed.tech/tags/c-plus-plus-programming-basics.md>), [classes](<https://devfeed.tech/tags/classes.md>), [example](<https://devfeed.tech/tags/example.md>), [functions](<https://devfeed.tech/tags/functions.md>), [guide](<https://devfeed.tech/tags/guide.md>), [object](<https://devfeed.tech/tags/object.md>), [object-oriented](<https://devfeed.tech/tags/object-oriented.md>), [object-oriented-programming](<https://devfeed.tech/tags/object-oriented-programming.md>), [programming](<https://devfeed.tech/tags/programming.md>), [scope-resolution-operator](<https://devfeed.tech/tags/scope-resolution-operator.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

The article explains C++ classes and objects through a Car example. A class groups member variables and functions; private fields hold the car's brand, model, and year, while public methods provide the interface. A constructor initializes those values, displayCar() prints them, updateYear() changes the year, and the destructor runs when the object's lifetime ends. It recommends declaring the class in a .h or .hpp file and defining its member functions in a .cpp file, using Car:: scope resolution to identify those definitions as belonging to the class. The example traces creating a Car, displaying and updating its state, and automatic destruction when main() ends. Encapsulation is presented as a way to restrict direct access and reduce accidental modification.

### Source excerpt

Learn C++ object-oriented programming with a practical example covering classes, objects, constructors, destructors, encapsulation, and member functions.

## C++ Optimizations in MSVC Build Tools 14.52

DevFeed: [C++ Optimizations in MSVC Build Tools 14.52](<https://devfeed.tech/articles/c-optimizations-in-msvc-build-tools-14-52-138345.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/cppblog/c-optimizations-in-msvc-build-tools-14-52/>)

Author: Troy Johnson

Published: 2026-11-17T18:23:46Z

Content type: article

Language: en

Sources: [C++ Team Blog](<https://devfeed.tech/sources/c-team-blog.md>)

Topics: [MSVC](<https://devfeed.tech/topics/msvc.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [vectorization techniques](<https://devfeed.tech/topics/vectorization-techniques.md>), [Compilers and Linkers](<https://devfeed.tech/topics/compilers-and-linkers.md>), [inlining](<https://devfeed.tech/topics/inlining.md>)

Tags: [build-tools](<https://devfeed.tech/tags/build-tools.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code-generation](<https://devfeed.tech/tags/code-generation.md>), [inlining](<https://devfeed.tech/tags/inlining.md>), [msvc](<https://devfeed.tech/tags/msvc.md>), [optimizations](<https://devfeed.tech/tags/optimizations.md>), [patterns](<https://devfeed.tech/tags/patterns.md>), [performance](<https://devfeed.tech/tags/performance.md>), [simd](<https://devfeed.tech/tags/simd.md>)

### AI overview

MSVC Build Tools 14.52 improves optimization across arithmetic reassociation, loops, ARM64 code generation, inlining, and expression patterns. Reassociation can expose shared calculations for hoisting and common-subexpression elimination; loop passes can replace repeated induction updates with final-value calculations and hoist eligible pure operations. ARM64 address analysis can share bases for indexed accesses and enable paired loads. SIMD changes include broader SLP recognition, NEON pattern simplification, and removal of work in unused lanes. Inlining heuristics now consider certain single-call helpers, slightly larger functions, and calls that enable scalar replacement of local aggregates. Pattern optimizations simplify Boolean expressions and equivalent comparisons or selections. Some changes originated in 14.51. The reciprocal-sharing transformation requires `/fp:fast` and is cost-based; floating-point reassociation also requires `/fp:fast`, and examples describe opportunities rather than guarantees.

### Source excerpt

C++ Optimizations in MSVC Build Tools 14.52 The Microsoft C++ team implemented new optimizations in MSVC Build Tools 14.52. Let's walk through examples of some of these optimizations. We will focus on reassociation, loop optimizations, SIMD code generation, inlining, and patterns. Where noted, we'll also include a few optimizations that appeared in MSVC 14.51 but [...] The post C++ Optimizations in MSVC Build Tools 14.52 appeared first on C++ Team Blog.

## AMD ROCm HRX's Loom 0.2 Expands C++ Support, Improved Targeting

DevFeed: [AMD ROCm HRX's Loom 0.2 Expands C++ Support, Improved Targeting](<https://devfeed.tech/articles/amd-rocm-hrx-s-loom-0-2-expands-c-support-improved-targeting-136380.md>)

Original publisher: [Read original article](<https://www.phoronix.com/news/HRX-Loom-0.2>)

Author: Michael Larabel

Published: 2026-11-17T01:37:15Z

Content type: release

Language: en

Sources: [Phoronix](<https://devfeed.tech/sources/phoronix.md>)

Topics: [rocm](<https://devfeed.tech/topics/rocm.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-workflows](<https://devfeed.tech/tags/agent-workflows.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [amd](<https://devfeed.tech/tags/amd.md>), [amd-gpu](<https://devfeed.tech/tags/amd-gpu.md>), [announcement](<https://devfeed.tech/tags/announcement.md>), [authoring](<https://devfeed.tech/tags/authoring.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [capabilities](<https://devfeed.tech/tags/capabilities.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [compute](<https://devfeed.tech/tags/compute.md>), [desktop-linux](<https://devfeed.tech/tags/desktop-linux.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [linux-benchmarking](<https://devfeed.tech/tags/linux-benchmarking.md>), [linux-hardware-benchmarks](<https://devfeed.tech/tags/linux-hardware-benchmarks.md>), [linux-hardware-reviews](<https://devfeed.tech/tags/linux-hardware-reviews.md>), [linux-how-to](<https://devfeed.tech/tags/linux-how-to.md>), [linux-performance](<https://devfeed.tech/tags/linux-performance.md>), [linux-server-benchmarks](<https://devfeed.tech/tags/linux-server-benchmarks.md>), [loom](<https://devfeed.tech/tags/loom.md>), [open-source-graphics](<https://devfeed.tech/tags/open-source-graphics.md>), [phoronix](<https://devfeed.tech/tags/phoronix.md>), [phoronix-test-suite](<https://devfeed.tech/tags/phoronix-test-suite.md>), [rocm](<https://devfeed.tech/tags/rocm.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [serving](<https://devfeed.tech/tags/serving.md>), [ubuntu-benchmarks](<https://devfeed.tech/tags/ubuntu-benchmarks.md>), [ubuntu-hardware](<https://devfeed.tech/tags/ubuntu-hardware.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

Loom 0.2 broadens complete-program C++ support and packaged AMD GPU/NPU and Vulkan execution, while expanding a shared target compiler across x86, AIE2P, AMDGPU, SPIR-V, and WebAssembly. The release describes changes aimed at removing fixed and superlinear costs in JIT compilation, graph construction and updates, GPU launch and replay, pipeline planning, and long-context serving. AMD hardware tooling now uses one libamdf-backed HAL via `--device=amdgpu`; the native path supports RDNA/CDNA, shared CPU/GPU/NPU memory contracts, explicit compute-resource selection, cooperative execution, virtual mappings, and reusable command buffers. The former ROCr-backed driver and its separate runtime and memory ownership paths are removed.

### Source excerpt

AMD ROCm's HRX Loom as the compiler, runtime, and serving infrastructure for supporting AI agent workflows is out today with a new version...

## Borland C++ 2.0 Compiler Source Reconstructed

DevFeed: [Borland C++ 2.0 Compiler Source Reconstructed](<https://devfeed.tech/articles/borland-c-2-0-compiler-source-reconstructed-133527.md>)

Original publisher: [Read original article](<https://hackaday.com/2026/11/13/borland-c-2-0-compiler-source-reconstructed/>)

Author: Maya Posch

Published: 2026-11-14T03:00:44Z

Content type: news

Language: en

Sources: [Hackaday](<https://devfeed.tech/sources/hackaday.md>)

Topics: [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>)

Tags: [borland](<https://devfeed.tech/tags/borland.md>), [borland-c-plus-plus](<https://devfeed.tech/tags/borland-c-plus-plus.md>), [c](<https://devfeed.tech/tags/c.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [code](<https://devfeed.tech/tags/code.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [development](<https://devfeed.tech/tags/development.md>), [dos](<https://devfeed.tech/tags/dos.md>), [ides](<https://devfeed.tech/tags/ides.md>), [language](<https://devfeed.tech/tags/language.md>), [original](<https://devfeed.tech/tags/original.md>), [process](<https://devfeed.tech/tags/process.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-language](<https://devfeed.tech/tags/programming-language.md>), [project](<https://devfeed.tech/tags/project.md>), [projects](<https://devfeed.tech/tags/projects.md>), [release](<https://devfeed.tech/tags/release.md>), [reverse-engineering](<https://devfeed.tech/tags/reverse-engineering.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [source](<https://devfeed.tech/tags/source.md>), [turbo-c-plus-plus](<https://devfeed.tech/tags/turbo-c-plus-plus.md>)

### AI overview

Borland C++ 2.0's source has been reconstructed from the original toolchain binaries. The project claims the recreated source is byte-perfect in the practical sense that it produces binaries identical to those from the original compiler. A separate document details the process, including use of Exhume, a Claude Code-based tool. The source may help projects working with DOS software from the period and has historical interest; the excerpt notes that C89 had only just been standardized and C++'s first standard was still years away.

### Source excerpt

As the successor to Turbo C++, Borland C++ was a staple of professional IDEs for C and C++ development, starting with the initial 2.0 release in 1991. Being a commercial ...read more

## MSVC Build Tools Preview updates - November 2026

DevFeed: [MSVC Build Tools Preview updates - November 2026](<https://devfeed.tech/articles/msvc-build-tools-preview-updates-november-2026-132658.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/cppblog/msvc-build-tools-preview-updates-november-2026/>)

Author: Eric Brumer

Published: 2026-11-13T18:12:10Z

Content type: release

Language: en

Sources: [C++ Team Blog](<https://devfeed.tech/sources/c-team-blog.md>)

Topics: [MSVC](<https://devfeed.tech/topics/msvc.md>), [toolchain](<https://devfeed.tech/topics/toolchain.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [backend](<https://devfeed.tech/tags/backend.md>), [build](<https://devfeed.tech/tags/build.md>), [build-tools](<https://devfeed.tech/tags/build-tools.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [msvc](<https://devfeed.tech/tags/msvc.md>), [november-2026](<https://devfeed.tech/tags/november-2026.md>), [preview](<https://devfeed.tech/tags/preview.md>), [tools](<https://devfeed.tech/tags/tools.md>), [updates](<https://devfeed.tech/tags/updates.md>)

### AI overview

The November 2026 MSVC Build Tools Preview targets v14.53 (compiler/linker versions at least 19.53.36930/14.53.36930) and includes compiler, optimizer, linker, analysis, and AddressSanitizer updates, plus many Developer Community fixes. Highlights include C++14 `[[fallthrough]]` support, new opt-in conversion warnings and linker unused-library warnings, expanded ARM64 SME support, and optimization and incremental-link improvements. SME support remains partial, limited to native ARM64, and does not support streaming-function definitions or ARM64EC; FPMR instructions also require hardware and OS support. The preview is available through Visual Studio 2026 Stable or Insiders, with Insiders receiving updates more frequently. Install the relevant x64/x86 or ARM64/ARM64EC Preview component and follow the preview configuration instructions to use it.

### Source excerpt

The MSVC Build Tools Preview is updated regularly with the latest features and fixes from the MSVC development team. This post covers the last month's updates of the Preview build tools, currently targeting the v14.53 release. This encompasses changes across the compiler frontend, backend, linker, standard library, and related tools. Although you can acquire the [...] The post MSVC Build Tools Preview updates - November 2026 appeared first on C++ Team Blog.

## C++ Dynamic Debugging is now generally available

DevFeed: [C++ Dynamic Debugging is now generally available](<https://devfeed.tech/articles/c-dynamic-debugging-is-now-generally-available-130817.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/cppblog/c-dynamic-debugging-is-now-generally-available/>)

Author: David Li

Published: 2026-11-12T16:49:13Z

Content type: release

Language: en

Sources: [C++ Team Blog](<https://devfeed.tech/sources/c-team-blog.md>)

Topics: [debug tools](<https://devfeed.tech/topics/debug-tools.md>), [MSVC](<https://devfeed.tech/topics/msvc.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [CMake](<https://devfeed.tech/topics/cmake.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [applications](<https://devfeed.tech/tags/applications.md>), [breakpoint](<https://devfeed.tech/tags/breakpoint.md>), [build-tool](<https://devfeed.tech/tags/build-tool.md>), [build-tools](<https://devfeed.tech/tags/build-tools.md>), [builds](<https://devfeed.tech/tags/builds.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [cmake](<https://devfeed.tech/tags/cmake.md>), [debug](<https://devfeed.tech/tags/debug.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [function](<https://devfeed.tech/tags/function.md>), [functions](<https://devfeed.tech/tags/functions.md>), [game-development](<https://devfeed.tech/tags/game-development.md>), [games](<https://devfeed.tech/tags/games.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [msvc](<https://devfeed.tech/tags/msvc.md>), [performance](<https://devfeed.tech/tags/performance.md>), [symbols](<https://devfeed.tech/tags/symbols.md>), [visual-studio](<https://devfeed.tech/tags/visual-studio.md>), [visual-studio-2026](<https://devfeed.tech/tags/visual-studio-2026.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

### AI overview

C++ Dynamic Debugging is generally available in all Visual Studio 2026 channels and MSVC Build Tools 14.52. After enabling it and rebuilding, the debugger deoptimizes functions as you set breakpoints or step into them, allowing inspection of local variables and inlined functions while the rest of an optimized application retains its runtime performance. For x64 MSBuild Release projects, enable Configuration Properties > Advanced > Use C++ Dynamic Debugging; this turns off Whole Program Optimization. CMake and other build systems can pass /dynamicdeopt to cl.exe, lib.exe, and link.exe. Unreal Engine 5.6 and later supports the feature through Unreal Build Tool and Unreal Build Accelerator by setting WindowsPlatform.bDynamicDebugging = true in the target .Target.cs file and rebuilding. It is also compatible with FastBuild and IncrediBuild; other build-system requirements and limitations are referred to in documentation not included here.

### Source excerpt

Introduction We are excited to announce that C++ Dynamic Debugging is now generally available in all Visual Studio 2026 channels and the Microsoft C++ (MSVC) Build Tools version 14.52. In the traditional workflow for games or large applications, switching to a debug build gives you access to debug symbols at the expense of performance. In contrast, when [...] The post C++ Dynamic Debugging is now generally available appeared first on C++ Team Blog.

## Req2Rust: A Requirements-Guided Agent Harness for Project-Level C++-to-Rust Migration

DevFeed: [Req2Rust: A Requirements-Guided Agent Harness for Project-Level C++-to-Rust Migration](<https://devfeed.tech/articles/req2rust-a-requirements-guided-agent-harness-for-project-level-c-to-rust-migration-120814.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.07442>)

Author: Shengbo Wang, Mingwei Liu, Yuwen Chen, Yanlin Wang

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Requirements](<https://devfeed.tech/topics/requirements.md>), [Specifications](<https://devfeed.tech/topics/specifications.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [c-plus-plus-to-rust](<https://devfeed.tech/tags/c-plus-plus-to-rust.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [harness](<https://devfeed.tech/tags/harness.md>), [llm](<https://devfeed.tech/tags/llm.md>), [memory-safety](<https://devfeed.tech/tags/memory-safety.md>), [migration](<https://devfeed.tech/tags/migration.md>), [rust](<https://devfeed.tech/tags/rust.md>), [semantic](<https://devfeed.tech/tags/semantic.md>), [specification](<https://devfeed.tech/tags/specification.md>), [test](<https://devfeed.tech/tags/test.md>)

### AI overview

Req2Rust uses an evidence-grounded Migration Requirements Specification (MRS) to record behaviors and constraints to preserve, then derives a Rust Design Specification (RDS) and an initial Rust project. It treats that project as an executable refinement state: compiler, semantic, and unsafe-reduction validators report issues to guide improvements in buildability, behavioral alignment, and unsafe usage. In evaluations against a ClaudeCode baseline, Req2Rust produced buildable Rust crates and raised test pass rates from 69.5% to 91.9% on general projects and from 45.4% to 87.9% on OpenHarmony modules. The supplied abstract does not detail evaluation methods or the extent of unsafe-code reduction.

### Source excerpt

arXiv:2611.07442v1 Announce Type: new Abstract: Memory-safety concerns make Rust an attractive target for modernizing legacy C/C++ systems, yet project-level C++ migration must balance semantic fidelity with Rust-oriented reconstruction. Source-structure-preserving migration can track low-level behavior, but it can also carry source-language organization, unsafe idioms, and project assumptions into Rust. Direct agent-based translation gives the model more freedom to construct a Rust project, but semantic coverage depends on the model identifying the source behaviors that must be preserved. This problem is especially acute for C++, where source behaviors are often hidden in object models, destructor-driven lifetime protocols, and other hard-to-localize C++ semantics. This paper presents Req2Rust, the first project-level LLM-based C++-to-Rust migration harness. Req2Rust first derives an evidence-grounded Migration Requirements Specification (MRS) that records the behaviors and constraints that must be preserved. It then synthesizes a Rust Design Specification (RDS) and realizes it as an initial Rust project. Because real projects contain implementation details and idioms that only become visible during build and validation, Req2Rust treats the initial Rust project as an executable refinement state. Compiler, semantic, and unsafe-reduction validators produce validation reports for improving buildability, behavioral alignment, and unsafe usage. We evaluate Req2Rust on general C++ projects and modules from the large-scale Openharmony codebase against a ClaudeCode baseline. Req2Rust produces buildable Rust crates in both settings and improves test pass rate from 69.5% to 91.9% on general projects and from 45.4% to 87.9% on Openharmony modules.

## Fixed Detectors, Moving Code: How Well Do Static Security Analyzers Hold Up over a Decade of C/C++ Evolution?

DevFeed: [Fixed Detectors, Moving Code: How Well Do Static Security Analyzers Hold Up over a Decade of C/C++ Evolution?](<https://devfeed.tech/articles/fixed-detectors-moving-code-how-well-do-static-security-analyzers-hold-up-over-a-decade-of-c-c-evolution-116129.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.03742>)

Author: Junhua Tang, Zhengsong Zhang. Haipeng Cai

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Static code analysis](<https://devfeed.tech/topics/static-code-analysis.md>), [code security](<https://devfeed.tech/topics/code-security.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [snyk-code](<https://devfeed.tech/topics/snyk-code.md>)

Tags: [application-security-testing](<https://devfeed.tech/tags/application-security-testing.md>), [c](<https://devfeed.tech/tags/c.md>), [c-c-plus-plus](<https://devfeed.tech/tags/c-c-plus-plus.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [codeql](<https://devfeed.tech/tags/codeql.md>), [coverage](<https://devfeed.tech/tags/coverage.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [diagnostics](<https://devfeed.tech/tags/diagnostics.md>), [effectiveness](<https://devfeed.tech/tags/effectiveness.md>), [evaluations](<https://devfeed.tech/tags/evaluations.md>), [failed](<https://devfeed.tech/tags/failed.md>), [false-positive-rate](<https://devfeed.tech/tags/false-positive-rate.md>), [logs](<https://devfeed.tech/tags/logs.md>), [overlap](<https://devfeed.tech/tags/overlap.md>), [recall](<https://devfeed.tech/tags/recall.md>), [repair](<https://devfeed.tech/tags/repair.md>), [sast](<https://devfeed.tech/tags/sast.md>), [sast-tools](<https://devfeed.tech/tags/sast-tools.md>), [security](<https://devfeed.tech/tags/security.md>), [static](<https://devfeed.tech/tags/static.md>), [temporal](<https://devfeed.tech/tags/temporal.md>)

### AI overview

Across 20,000 vulnerable and fixed C/C++ cases from 1,116 projects (2016-2025), the study finds that apparent changes in SAST effectiveness can reflect broader alerting and shifting analysis coverage, not just changes in vulnerability detection. Across three CodeQL releases, three Infer releases, and one Semgrep configuration, F1 ranged from 0.066 to 0.478 while count-based AUROC remained near chance. Newer CodeQL releases raised recall and false-positive rates in parallel; in project-matched year pairs, CodeQL R2024 had negative mean F1 change at every source-year gap, while Infer v1.1 and v1.3 had positive means. Repair-level inspection found changed-line overlap in only 6 of 39 selected CodeQL findings and 2 of 620 Infer findings. Semgrep reported success on every run despite parser or timeout diagnostics in 78.96% of cases. The authors recommend controlling for projects, fixing detector conditions, inspecting repair-level evidence, and reporting failed or degraded analyses.

### Source excerpt

arXiv:2611.03742v1 Announce Type: new Abstract: Static application security testing (SAST) tools are often deployed on the assumption that detectors configured today will remain effective on future code, including previously unknown vulnerabilities. We test this assumption using 20,000 vulnerable and fixed C/C++ cases from 1,116 open-source projects (2016-2025), evaluated with three CodeQL releases, three Infer releases, and one Semgrep configuration. To distinguish temporal effects from shifts in code composition, we compare yearly populations, project- and label-matched year pairs, and within-project trajectories. We investigate the largest within-project declines through repair diffs, detection predicates, alert locations, and execution logs, while accounting for failed, degraded, and costly analyses. Under changed-file case-label scoring, overall F1 ranges from 0.066 to 0.478, but count-based AUROC stays near chance (0.495-0.526). Newer CodeQL releases attain higher F1 alongside nearly parallel rises in recall and false-positive rate, not stronger separation of vulnerable from fixed cases. In project-matched year pairs, CodeQL R2024 has negative mean later-minus-earlier F1 at every source-year gap, whereas Infer v1.1 and v1.3 have positive means throughout. Among selected drops, only 6 of 39 CodeQL and 2 of 620 Infer findings overlap a changed repair line. For Semgrep, 78.96% of cases show parser or timeout diagnostics even though every run reports success. These results suggest that apparent changes in temporal SAST effectiveness can arise from broader alerting, changing analysis coverage, and incidental findings, not solely from losses in vulnerability detection. Evaluations of temporal sustainability should fix detector conditions, control for projects, inspect repair-level evidence, and report failed or degraded analyses.

## WFDB-x: Conformance-Tested Implementations of the WFDB Software Package in Seven Programming Languages

DevFeed: [WFDB-x: Conformance-Tested Implementations of the WFDB Software Package in Seven Programming Languages](<https://devfeed.tech/articles/wfdb-x-conformance-tested-implementations-of-the-wfdb-software-package-in-seven-programming-languages-113506.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.01358>)

Author: Reza Sameni

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Programming](<https://devfeed.tech/topics/programming.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [Fuzzing/Fuzz testing](<https://devfeed.tech/topics/fuzzing.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-assistance](<https://devfeed.tech/tags/ai-assistance.md>), [ai-assisted](<https://devfeed.tech/tags/ai-assisted.md>), [ai-assisted-development](<https://devfeed.tech/tags/ai-assisted-development.md>), [annotation](<https://devfeed.tech/tags/annotation.md>), [annotations](<https://devfeed.tech/tags/annotations.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [c](<https://devfeed.tech/tags/c.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [cross](<https://devfeed.tech/tags/cross.md>), [cs-dl](<https://devfeed.tech/tags/cs-dl.md>), [cs-pl](<https://devfeed.tech/tags/cs-pl.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [development-process](<https://devfeed.tech/tags/development-process.md>), [differential-fuzzing](<https://devfeed.tech/tags/differential-fuzzing.md>), [environment](<https://devfeed.tech/tags/environment.md>), [faster](<https://devfeed.tech/tags/faster.md>), [languages](<https://devfeed.tech/tags/languages.md>), [package](<https://devfeed.tech/tags/package.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-languages](<https://devfeed.tech/tags/programming-languages.md>), [software](<https://devfeed.tech/tags/software.md>)

### AI overview

WFDB-x reimplements WFDB Software Package 10.7.0 in Python, C++, Rust, Julia, R, MATLAB/Octave, and Kotlin, with library functions, high-level interfaces, and command-line tools in each. To address inconsistent corner-case behavior and risky implicit waveform defaults, it removes implicit parameters, restricts file and network access, and prevents annotation loss; legacy mode preserves original behavior. On the tested Linux platform, all seven implementations matched the original C programs across 1,098 conformance cases and 877 legacy-mode cases, alongside 9,353 unit-test assertions and differential fuzzing. Reported benchmarks show C++, Rust, and Julia reading records 1.5-6.9 times faster than the original C library, and Python writing 9.2 times faster than wfdb-python. Results are limited to the reported tests and platform.

### Source excerpt

arXiv:2611.01358v1 Announce Type: new Abstract: The WFDB format is widely used to store and exchange physiological waveforms and annotations. However, existing software implementations are limited to C, Python, and MATLAB/Octave, can produce different results in corner cases and checksum calculations, and have defaults such as sampling frequency and gain, that can lead to silent misinterpretation of recordings. We developed WFDB-x, a cross-language, performance-optimized reimplementation of WFDB in seven programming languages, with extensive unit tests, to provide consistent WFDB processing across programming languages. We reimplemented the WFDB Software Package 10.7.0 natively in Python, C++, Rust, Julia, R, MATLAB/Octave, and Kotlin, using AI-assistance under human direction and review. Each implementation has library functions, a high-level interface, and command-line tools. We compared their outputs with those of the original C programs using 1098 conformance cases, 877 legacy-mode cases, unit tests, and differential fuzzing. Deliberate changes remove implicit waveform parameters, restrict file and network access, and prevent annotation loss. A legacy mode retains the original behavior. All seven implementations passed every conformance and legacy-mode case on the tested Linux platform, with matching outputs. The unit tests contain 9353 assertions. C++, Rust, and Julia read records 1.5-6.9 times faster than the original C library, while the Python implementation wrote records 9.2 times faster than the existing wfdb-python library in the benchmark. WFDB-x provides a tested, open-source basis for reading and writing physiological recordings consistently across seven languages, supporting reproducible research and software development without requiring a shared programming environment. We also share details of the AI-assisted development process and token utilization, which may be useful for other applications.

## In C++, = default and {} are not the same constructor

DevFeed: [In C++, = default and {} are not the same constructor](<https://devfeed.tech/articles/in-c-default-and-are-not-the-same-constructor-113364.md>)

Original publisher: [Read original article](<https://lemire.me/blog/2026/11/02/default-and-braces-are-not-the-same-constructor/>)

Author: Daniel Lemire

Published: 2026-11-02T12:48:59Z

Content type: article

Language: en

Sources: [Daniel Lemire](<https://devfeed.tech/sources/daniel-lemire.md>)

Topics: [constructor](<https://devfeed.tech/topics/constructor.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [clang](<https://devfeed.tech/topics/clang.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [constructor](<https://devfeed.tech/tags/constructor.md>), [gcc](<https://devfeed.tech/tags/gcc.md>), [intel-xeon](<https://devfeed.tech/tags/intel-xeon.md>), [november-2026](<https://devfeed.tech/tags/november-2026.md>), [performance](<https://devfeed.tech/tags/performance.md>), [spans](<https://devfeed.tech/tags/spans.md>), [struct](<https://devfeed.tech/tags/struct.md>)

### AI overview

An empty `span() = default` and `span() {}` can produce different performance because only the first is trivial: the explicitly defaulted constructor is trivial, while the empty body is user-provided. In the shown `box()` path, GCC 16 with `-O2 -march=x86-64` generates direct field stores for `span() {}`, but uses a temporary and copies 16 bytes for `span() = default`. The author reports that in timing tests of 100 million spans on one Intel Xeon Gold 6548N core, the `= default` version was over four times slower with both GCC 15 and GCC 16. The result is tied to the described code, compiler settings, and test setup.

### Source excerpt

You can write an empty default constructor as span() = default or as span() {}. It can have remarkable effects on performance. struct span { const char *p; int len; const char *end; span() = default; // or span() {} span(const char *s, int n) : p(s), len(n), end(s + n) {} }; The constructor ... Continue reading In C++, = default and {} are not the same constructor

## Monitor C and C++ applications with Datadog RUM

DevFeed: [Monitor C and C++ applications with Datadog RUM](<https://devfeed.tech/articles/monitor-c-and-c-applications-with-datadog-rum-113322.md>)

Original publisher: [Read original article](<https://www.datadoghq.com/blog/monitor-native-apps-datadog-rum/>)

Author: Jessica Manheimer; Quentin Sellem

Published: 2026-11-02T00:00:00Z

Content type: article

Language: en

Sources: [Datadog](<https://devfeed.tech/sources/datadog-the-monitor-blog.md>)

Topics: [datadog](<https://devfeed.tech/topics/datadog.md>), [real user monitoring](<https://devfeed.tech/topics/real-user-monitoring.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [CMake](<https://devfeed.tech/topics/cmake.md>)

Tags: [actions](<https://devfeed.tech/tags/actions.md>), [agent](<https://devfeed.tech/tags/agent.md>), [all](<https://devfeed.tech/tags/all.md>), [also](<https://devfeed.tech/tags/also.md>), [api](<https://devfeed.tech/tags/api.md>), [application](<https://devfeed.tech/tags/application.md>), [applications](<https://devfeed.tech/tags/applications.md>), [based](<https://devfeed.tech/tags/based.md>), [block](<https://devfeed.tech/tags/block.md>), [c](<https://devfeed.tech/tags/c.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [crashes](<https://devfeed.tech/tags/crashes.md>), [datadog](<https://devfeed.tech/tags/datadog.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [desktop](<https://devfeed.tech/tags/desktop.md>), [digital-experience-monitoring](<https://devfeed.tech/tags/digital-experience-monitoring.md>), [error-tracking](<https://devfeed.tech/tags/error-tracking.md>), [native](<https://devfeed.tech/tags/native.md>), [other](<https://devfeed.tech/tags/other.md>), [rum](<https://devfeed.tech/tags/rum.md>), [user](<https://devfeed.tech/tags/user.md>), [with](<https://devfeed.tech/tags/with.md>), [workflows](<https://devfeed.tech/tags/workflows.md>)

### AI overview

Datadog's C++ SDK extends RUM to native C and C++ apps on Windows, macOS, and Linux, linking crash diagnostics and instrumented activity to user sessions. Its in-process handler requires C++17 and no extra executable; it captures the crashing thread's stack trace and uploads on the next launch. The out-of-process Crashpad handler can capture stack overflows, heap corruption, and all-thread traces, and uploads immediately. Both attach recent session and view context; session timelines show preceding actions, view loads, and network requests. Developers can also report handled errors and instrument views, actions, resources, operations, and long tasks. The SDK provides a C++17+ API and a C99 API, works with native build systems such as CMake, and sends data directly to Datadog without an Agent on users' devices. Tracking-consent controls manage local storage and uploads according to user preferences.

### Source excerpt

Use Datadog RUM to investigate native C and C++ application crashes, track user activity, and monitor workflows across desktop and other native apps.

## Manual binding and semi-automated interface generation for efficient simulation backends with user-friendly frontends: A~demonstration for epidemic use cases

DevFeed: [Manual binding and semi-automated interface generation for efficient simulation backends with user-friendly frontends: A~demonstration for epidemic use cases](<https://devfeed.tech/articles/manual-binding-and-semi-automated-interface-generation-for-efficient-simulation-backends-with-user-friendly-frontends-a-demonstration-for-epidemic-use-cases-107409.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.40343>)

Author: Maximilian Betz, Daniel-Michel Richter, Daniel Abele, Ren\\'e Schmieding, Henrik Zunker, Martin J. K\\"uhn

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Model driven development](<https://devfeed.tech/topics/model-driven-development.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [Simulation](<https://devfeed.tech/topics/simulation.md>)

Tags: [automated](<https://devfeed.tech/tags/automated.md>), [backends](<https://devfeed.tech/tags/backends.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code](<https://devfeed.tech/tags/code.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [disease](<https://devfeed.tech/tags/disease.md>), [efficiently](<https://devfeed.tech/tags/efficiently.md>), [framework](<https://devfeed.tech/tags/framework.md>), [generate](<https://devfeed.tech/tags/generate.md>), [generation](<https://devfeed.tech/tags/generation.md>), [implementing](<https://devfeed.tech/tags/implementing.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [interface](<https://devfeed.tech/tags/interface.md>), [language](<https://devfeed.tech/tags/language.md>), [large](<https://devfeed.tech/tags/large.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [model](<https://devfeed.tech/tags/model.md>), [modeling](<https://devfeed.tech/tags/modeling.md>), [models](<https://devfeed.tech/tags/models.md>), [semi](<https://devfeed.tech/tags/semi.md>), [simulation](<https://devfeed.tech/tags/simulation.md>)

### AI overview

The paper presents a way to expose a large C++ infectious-disease simulation framework to Python, combining compiled-backend performance with Python's accessible, iterative modeling workflow. It notes that writing bindings by hand can burden backend developers as models change or expand. To ease that work, it proposes semi-automatically generating interface code by analyzing generic C++ with abstract syntax trees and using modular intermediate representations. The supplied abstract does not report evaluation results for the generation method.

### Source excerpt

arXiv:2610.40343v1 Announce Type: new Abstract: Challenges and chances of mathematical software are directly entangled with the programming language used. Depending on the background of developers and users, conflicts between different goals may arise. While several, e.g., scripting languages allow a low barrier and user-friendly entry to mathematical modeling and simulation, corresponding implementations will most likely not allow timely outcomes for detailed simulations. In infectious disease modeling, while several large-scale software frameworks rely on C or C++ implementations, most models are implemented in Python or R. While the latter allow for fast prototyping and more interactive development, it has been shown for several applications that C or C++ implementations outperform plain Python or R implementations by factors between one and three orders of magnitude. In particular, in times of pandemics, the urgent need for swift estimation of the system's dynamics makes the use of large-scale models in these noncompiled languages prohibitive. In order to create synergies and close the gap between scientists from the application and the computational domain, binding libraries allow to execute entire, compiled software frameworks from languages such as Python. However, with iterative model development, extension, or addition of new models, implementing bindings can represent another relevant barrier to developers of the C or C++ backends. In this paper, we show how a large-scale software framework with a multitude of infectious disease models can be efficiently exposed to Python. In addition, we suggest a semi-automated way to generate interface code by analyzing generic C++ code through abstract syntax trees, enabling a modularized approach working with intermediate representations.

## Tensor computing application programming interface: An application-oriented, lightweight API for portable high-performance tensor network computations

DevFeed: [Tensor computing application programming interface: An application-oriented, lightweight API for portable high-performance tensor network computations](<https://devfeed.tech/articles/tensor-computing-application-programming-interface-an-application-oriented-lightweight-api-for-portable-high-performance-tensor-network-computations-94097.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2512.23917>)

Author: Rong-Yang Sun, Tomonori Shirakawa, Hidehiko Kohshiro, D. N. Sheng, Seiji Yunoki

Published: 2026-10-21T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [API](<https://devfeed.tech/topics/api.md>), [High-Performance Computing](<https://devfeed.tech/topics/high-performance-computing.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [The Julia Language](<https://devfeed.tech/topics/julia.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [algebra](<https://devfeed.tech/tags/algebra.md>), [api](<https://devfeed.tech/tags/api.md>), [application](<https://devfeed.tech/tags/application.md>), [application-programming-interface](<https://devfeed.tech/tags/application-programming-interface.md>), [applications](<https://devfeed.tech/tags/applications.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [based](<https://devfeed.tech/tags/based.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [can](<https://devfeed.tech/tags/can.md>), [central](<https://devfeed.tech/tags/central.md>), [computing](<https://devfeed.tech/tags/computing.md>), [cond-mat-str-el](<https://devfeed.tech/tags/cond-mat-str-el.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [high-performance](<https://devfeed.tech/tags/high-performance.md>), [interface](<https://devfeed.tech/tags/interface.md>), [lightweight](<https://devfeed.tech/tags/lightweight.md>), [network](<https://devfeed.tech/tags/network.md>), [performance](<https://devfeed.tech/tags/performance.md>), [portable](<https://devfeed.tech/tags/portable.md>), [programming](<https://devfeed.tech/tags/programming.md>), [quant-ph](<https://devfeed.tech/tags/quant-ph.md>)

### AI overview

TCAPI aims to make tensor-network applications portable across tensor-computing frameworks. Its C++ and Python specifications define shared tensor type conventions and core manipulation and linear-algebra operations. In numerical demonstrations, C++ applications built against TCAPI migrated across heterogeneous hardware and software platforms while achieving performance comparable to native framework implementations. Open-source implementations use Cytnx and ITensor in C++, and NumPy in Python. These claims come from the supplied abstract.

### Source excerpt

arXiv:2512.23917v2 Announce Type: replace-cross Abstract: Tensor networks (TNs) are a central computational tool in quantum science and artificial intelligence. However, the lack of a unified software interface across tensor-computing frameworks severely limits the portability of TN applications, coupling algorithmic development to specific hardware and software back ends. To address this challenge, we introduce the Tensor Computing Application Programming Interface (TCAPI)---an application-oriented, lightweight API designed to enable framework-independent, high-performance TN applications, currently specified for \texttt{C++} and \texttt{Python}. TCAPI provides well-defined type-system conventions that abstract tensor objects, together with a minimal yet expressive set of core functions for essential tensor manipulations and tensor linear-algebra operations, with operation semantics shared across language specifications. Through numerical demonstrations of representative tensor-network applications implemented in \texttt{C++} using TCAPI, we show that code written against TCAPI can be migrated seamlessly across heterogeneous hardware and software platforms while achieving performance comparable to native framework implementations. We further provide open-source implementations of TCAPI based on \textit{Cytnx} and \textit{ITensor} in \texttt{C++}, and on \textit{NumPy} in \texttt{Python}, demonstrating its practicality and ease of integration with existing tensor-computing frameworks.

## C++ futures part 5: std::future and std::shared\_future

DevFeed: [C++ futures part 5: std::future and std::shared\_future](<https://devfeed.tech/articles/c-futures-part-5-std-future-and-std-shared-future-88474.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261016-00/?p=112778/>)

Author: Raymond Chen

Published: 2026-10-16T14:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [synchronization](<https://devfeed.tech/topics/synchronization.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code](<https://devfeed.tech/tags/code.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>)

### AI overview

This installment explains how C++ std::future and std::shared_future retrieve values from a shared source. A future is move-only and allows one retrieval, while shared_future is copyable and lets multiple consumers retrieve the value repeatedly through a const reference. The post also notes the tradeoff for move-only results and discusses alternative names for futures library components.

### Source excerpt

Getting the results back out. The post C++ futures part 5: <CODE>std::<WBR>future</CODE> and <CODE>std::<WBR>shared_future</CODE> appeared first on The Old New Thing.

## MSVC Build Tools Version 14.52 Release Candidate Now Available

DevFeed: [MSVC Build Tools Version 14.52 Release Candidate Now Available](<https://devfeed.tech/articles/msvc-build-tools-version-14-52-release-candidate-now-available-88249.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/cppblog/msvc-build-tools-version-14-52-release-candidate-now-available/>)

Author: Eric Brumer

Published: 2026-10-15T20:07:03Z

Content type: release

Language: en

Sources: [C++ Team Blog](<https://devfeed.tech/sources/c-team-blog.md>)

Topics: [MSVC](<https://devfeed.tech/topics/msvc.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [version](<https://devfeed.tech/topics/version.md>), [Build tool](<https://devfeed.tech/topics/build-tool.md>), [versioning](<https://devfeed.tech/topics/versioning.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [c-plus-plus-23](<https://devfeed.tech/tags/c-plus-plus-23.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [msvc](<https://devfeed.tech/tags/msvc.md>), [release](<https://devfeed.tech/tags/release.md>)

### AI overview

Microsoft announces the release candidate for MSVC Build Tools 14.52, with C++23 available for production use through `/std:c++23`. The release includes updates to language support, optimization and code generation, ARM64 and x64 targets, the standard library, AddressSanitizer, and build tools and diagnostics. The post also lists fixes reported during development.

### Source excerpt

We are pleased to announce the availability of the release candidate for Microsoft C++ (MSVC) Build Tools version 14.52. With this release, C++23 is ready for production use and available through the /std:c++23 compiler option; see below for details. This is the last MSVC v14.52 preview before it moves to stable status and full support. [...] The post MSVC Build Tools Version 14.52 Release Candidate Now Available appeared first on C++ Team Blog.

## Lauterbach and JetBrains Announce TRACE32 Integration in CLion IDE

DevFeed: [Lauterbach and JetBrains Announce TRACE32 Integration in CLion IDE](<https://devfeed.tech/articles/lauterbach-and-jetbrains-announce-trace32-integration-in-clion-ide-86561.md>)

Original publisher: [Read original article](<https://blog.jetbrains.com/clion/2026/10/lauterbach-trace32-integration-in-clion/>)

Author: Artemy Pestretsov

Published: 2026-10-14T09:40:12Z

Content type: news

Language: en

Sources: [JetBrains](<https://devfeed.tech/sources/the-jetbrains-blog.md>)

Topics: [CLion](<https://devfeed.tech/topics/clion.md>), [Embedded Systems](<https://devfeed.tech/topics/embedded-systems.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [ide](<https://devfeed.tech/topics/ide.md>), [CoAP](<https://devfeed.tech/topics/coap.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [dap](<https://devfeed.tech/tags/dap.md>), [debugger](<https://devfeed.tech/tags/debugger.md>), [debugging-tools](<https://devfeed.tech/tags/debugging-tools.md>), [embedded](<https://devfeed.tech/tags/embedded.md>), [ide](<https://devfeed.tech/tags/ide.md>), [jetbrains](<https://devfeed.tech/tags/jetbrains.md>), [news](<https://devfeed.tech/tags/news.md>), [trace32](<https://devfeed.tech/tags/trace32.md>)

### AI overview

Lauterbach and JetBrains have integrated TRACE32 debugging tools with CLion for embedded development. Developers can launch a configured PowerView session or attach to an existing instance, then control execution, step through code, and inspect variables in CLion while TRACE32 communicates with target hardware. The integration requires CLion 2026.2.4 or later and specified TRACE32 software and adapter versions.

### Source excerpt

Hoehenkirchen, Germany/Amsterdam, Netherlands -- October 14, 2026 -- Lauterbach and JetBrains have integrated TRACE32® debugging tools with CLion, JetBrains' professional C and C++ tool. The integration enables embedded developers to debug applications on target hardware directly from CLion, bringing code editing, navigation, and hardware debugging into one development workflow. Using the Debug Adapter Protocol (DAP), [...]

## CodeQL 2.27.2 improves C++, Go, Rust, and JavaScript analysis

DevFeed: [CodeQL 2.27.2 improves C++, Go, Rust, and JavaScript analysis](<https://devfeed.tech/articles/codeql-2-27-2-improves-c-go-rust-and-javascript-analysis-84417.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2026-10-09-codeql-2-27-2-improves-c-go-rust-and-javascript-analysis>)

Author: Allison

Published: 2026-10-09T21:32:54Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [Static code analysis](<https://devfeed.tech/topics/static-code-analysis.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Regular expression](<https://devfeed.tech/topics/regular-expression.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [application-security](<https://devfeed.tech/tags/application-security.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code-scanning](<https://devfeed.tech/tags/code-scanning.md>), [codeql](<https://devfeed.tech/tags/codeql.md>), [go](<https://devfeed.tech/tags/go.md>), [improvement](<https://devfeed.tech/tags/improvement.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [rust](<https://devfeed.tech/tags/rust.md>), [static-analysis](<https://devfeed.tech/tags/static-analysis.md>)

### AI overview

CodeQL 2.27.2 adds analysis coverage and updates across languages and tooling. C/C++ gains ECMAScript `std::regex` parsing, Comdb2 SQL-injection sink models, and flow summaries for Bloomberg BDE codecs and byte-stream deserializers. Go adds the `github.com/coder/websocket` import path; Rust improves async-block data flow and adds TLS-library summaries; JavaScript/TypeScript recognizes Workflow SDK directives and improves Hapi route tracking. C# clickjacking and XSS queries also change. Go's CFG now uses a shared library, changing nodes, edges and basic-block boundaries; queries relying on its old representation may need updates. On macOS 27 with any Xcode, and macOS 26 with Xcode 27, `autobuild` and `manual` are unsupported for compiled languages because required multi-architecture binaries are no longer shipped. The release also includes CLI and query-suite changes; GitHub deploys new versions automatically on github.com, while older GHES users can upgrade manually.

### Source excerpt

CodeQL 2.27.2 is now available, adding a C++ regular-expression parser and analysis improvements across several languages. CodeQL is the static analysis engine behind GitHub code scanning, which helps you find... The post CodeQL 2.27.2 improves C++, Go, Rust, and JavaScript analysis appeared first on The GitHub Blog.

## Qiskit beyond Python: Fortran, C++, and Julia

DevFeed: [Qiskit beyond Python: Fortran, C++, and Julia](<https://devfeed.tech/articles/qiskit-beyond-python-fortran-c-and-julia-65718.md>)

Original publisher: [Read original article](<https://research.ibm.com/blog/qiskit-beyond-python>)

Author: Haimeng Zhang; Jim Garrison; Matthew Treinish; Henry Zou; Aaryav Mishra; Dhinakaran Vinayagamurthy; Shobhit Pandey; Nate Earnest-Noble; Robert Davis

Published: 2026-10-06T04:00:00Z

Content type: tutorial

Language: en

Sources: [IBM Research](<https://devfeed.tech/sources/ibm-research.md>)

Topics: [High-Performance Computing](<https://devfeed.tech/topics/high-performance-computing.md>), [Fortran](<https://devfeed.tech/topics/fortran.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [The Julia Language](<https://devfeed.tech/topics/julia.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [explainer](<https://devfeed.tech/tags/explainer.md>), [fortran](<https://devfeed.tech/tags/fortran.md>), [hpc](<https://devfeed.tech/tags/hpc.md>), [qiskit](<https://devfeed.tech/tags/qiskit.md>), [quantum-software](<https://devfeed.tech/tags/quantum-software.md>), [scientific-computing](<https://devfeed.tech/tags/scientific-computing.md>), [sdk](<https://devfeed.tech/tags/sdk.md>)

### AI overview

Qiskit's C API lets developers use its Rust core from Fortran, C++, and Julia without an intermediate Python layer. The article introduces the native bindings and demonstrates a Julia workflow for constructing, optimizing, running, and analyzing a quantum simulation, connecting Qiskit to existing HPC and scientific-computing code.

### Source excerpt

Qiskit's C API connects the SDK's Rust core to the languages of HPC and scientific computing, so you can build and run circuits natively--no Python required.

## EDG C/C++ Front-End Open-Sourced

DevFeed: [EDG C/C++ Front-End Open-Sourced](<https://devfeed.tech/articles/edg-c-c-front-end-open-sourced-62698.md>)

Original publisher: [Read original article](<https://www.phoronix.com/news/EDG-CPP-Open-Sourced>)

Author: Michael Larabel

Published: 2026-09-30T17:53:32Z

Content type: news

Language: en

Sources: [Phoronix](<https://devfeed.tech/sources/phoronix.md>)

Topics: [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [gcc](<https://devfeed.tech/topics/gcc.md>), [MSVC](<https://devfeed.tech/topics/msvc.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code](<https://devfeed.tech/tags/code.md>), [desktop-linux](<https://devfeed.tech/tags/desktop-linux.md>), [license](<https://devfeed.tech/tags/license.md>), [linux-benchmarking](<https://devfeed.tech/tags/linux-benchmarking.md>), [linux-hardware-benchmarks](<https://devfeed.tech/tags/linux-hardware-benchmarks.md>), [linux-hardware-reviews](<https://devfeed.tech/tags/linux-hardware-reviews.md>), [linux-how-to](<https://devfeed.tech/tags/linux-how-to.md>), [linux-performance](<https://devfeed.tech/tags/linux-performance.md>), [linux-server-benchmarks](<https://devfeed.tech/tags/linux-server-benchmarks.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [open-source-graphics](<https://devfeed.tech/tags/open-source-graphics.md>), [phoronix](<https://devfeed.tech/tags/phoronix.md>), [phoronix-test-suite](<https://devfeed.tech/tags/phoronix-test-suite.md>), [ubuntu-benchmarks](<https://devfeed.tech/tags/ubuntu-benchmarks.md>), [ubuntu-hardware](<https://devfeed.tech/tags/ubuntu-hardware.md>)

### AI overview

The EDG C++ front-end has been open-sourced under the Apache 2.0 license, with The C++ Alliance becoming its non-profit home. Community contributions will be accepted through the codebase hosted on GitHub.

### Source excerpt

Edison Design Group has open-sourced their EDG C/C++ front-end that has been known in the commercial world for its extensive dialect support and other features. The EDG C++ front-end has been used by the likes of Intel C++ Compiler classic, NVIDIA CUDA NVCC, and even Microsoft Visual Studio for IntelliSense...

## Memory safety for Postgres extensions in C/C++

DevFeed: [Memory safety for Postgres extensions in C/C++](<https://devfeed.tech/articles/memory-safety-for-postgres-extensions-in-c-c-62426.md>)

Original publisher: [Read original article](<https://clickhouse.com/blog/memory-safety-postgres-extensions-c-cpp>)

Author: Philip Dubé

Published: 2026-09-30T13:56:27Z

Content type: article

Language: en

Sources: [ClickHouse Blog](<https://devfeed.tech/sources/clickhouse-blog.md>)

Topics: [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [Memory safety verification](<https://devfeed.tech/topics/memory-safety-verification.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [memory-safety](<https://devfeed.tech/tags/memory-safety.md>), [postgres](<https://devfeed.tech/tags/postgres.md>)

### AI overview

The article describes memory safety challenges in combining C++ with PostgreSQL's C extension environment, where allocation and error-handling models can conflict. It outlines ClickHouse's approaches, including replacing C++ with a C library for pg_clickhouse.

### Source excerpt

How ClickHouse's Postgres extensions handle the memory safety challenges of combining C and C++, from clean language boundaries to isolated helper processes.

## C++26 standardizes breakpoints and debugger detection

DevFeed: [C++26 standardizes breakpoints and debugger detection](<https://devfeed.tech/articles/c-26-62258.md>)

Original publisher: [Read original article](<https://www.sandordargo.com/blog/2026/09/30/cpp26-debugging>)

Author: Sandor Dargo

Published: 2026-09-29T22:00:00Z

Content type: article

Language: en

Sources: [Sandor Dargo's Blog](<https://devfeed.tech/sources/sandor-dargo-s-blog.md>)

Topics: [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [x86](<https://devfeed.tech/topics/x86.md>), [gdb](<https://devfeed.tech/topics/gdb.md>)

Tags: [asm](<https://devfeed.tech/tags/asm.md>), [bare-metal](<https://devfeed.tech/tags/bare-metal.md>), [breakpoint](<https://devfeed.tech/tags/breakpoint.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [c-plus-plus-26](<https://devfeed.tech/tags/c-plus-plus-26.md>), [clang](<https://devfeed.tech/tags/clang.md>), [debugger](<https://devfeed.tech/tags/debugger.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [dev](<https://devfeed.tech/tags/dev.md>), [gcc](<https://devfeed.tech/tags/gcc.md>), [i386](<https://devfeed.tech/tags/i386.md>), [libstdc-plus-plus](<https://devfeed.tech/tags/libstdc-plus-plus.md>), [linux](<https://devfeed.tech/tags/linux.md>), [x86-64](<https://devfeed.tech/tags/x86-64.md>)

### AI overview

C++26 adds standardized functions for triggering breakpoints and checking whether a debugger is attached. The article explains their behavior, platform-specific implementation choices, and how replaceability supports freestanding environments where operating-system debugger detection may be unavailable.

### Source excerpt

If you've ever needed to hit a breakpoint programmatically in C++, you've probably written something like this: #if defined(_MSC_VER) __debugbreak(); #elif defined(__clang__) __builtin_debugtrap(); #elif defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) __asm__ volatile("int3"); #else raise(SIGTRAP); #endif Every major C++ project reinvents this wheel. B...

## C++ reminder: Function-local static variables are initialized only once, even if it looks like they get initialized multiple times

DevFeed: [C++ reminder: Function-local static variables are initialized only once, even if it looks like they get initialized multiple times](<https://devfeed.tech/articles/c-reminder-function-local-static-variables-are-initialized-only-once-even-if-it-looks-like-they-get-initialized-multiple-times-61661.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20260928-00/?p=112738/>)

Author: Raymond Chen

Published: 2026-09-28T14:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [Environment Variables](<https://devfeed.tech/topics/environment-variables.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code](<https://devfeed.tech/tags/code.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [static](<https://devfeed.tech/tags/static.md>), [threads](<https://devfeed.tech/tags/threads.md>)

### AI overview

Function-local static variables in C++ are initialized only the first time execution reaches their declaration, then retain their value. Making a variable static can extend its lifetime and prevent a use-after-free, but it can also cause separate widget instances to share options, create overlapping-lifetime conflicts, and introduce data races when accessed by multiple threads.

### Source excerpt

Only on first execution. The post C++ reminder: Function-local static variables are initialized only once, even if it looks like they get initialized multiple times appeared first on The Old New Thing.

## CodeQL 2.27.1 adds C and C++ query and Kotlin 2.4.20 support

DevFeed: [CodeQL 2.27.1 adds C and C++ query and Kotlin 2.4.20 support](<https://devfeed.tech/articles/codeql-2-27-1-adds-c-and-c-query-and-kotlin-2-4-20-support-71413.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2026-09-25-codeql-2-27-1-adds-c-and-c-query-and-kotlin-2-4-20-support>)

Author: Allison

Published: 2026-09-25T09:55:23Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [Static code analysis](<https://devfeed.tech/topics/static-code-analysis.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>)

Tags: [c-c-plus-plus](<https://devfeed.tech/tags/c-c-plus-plus.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [code-scanning](<https://devfeed.tech/tags/code-scanning.md>), [codeql](<https://devfeed.tech/tags/codeql.md>), [ghes](<https://devfeed.tech/tags/ghes.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [github-enterprise-server](<https://devfeed.tech/tags/github-enterprise-server.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [queries](<https://devfeed.tech/tags/queries.md>), [static-analysis](<https://devfeed.tech/tags/static-analysis.md>)

### AI overview

CodeQL 2.27.1 expands security analysis models and adds query and accuracy improvements across several languages. C/C++ gains flow models for Boost.Asio, Bloomberg's Blob buffer, and Protocol Buffers, plus a query for ambiguous comparison assignments. Go gains standard-library data-flow coverage; Kotlin 2.4.20 is supported, with a K2 extraction fix that reduces false positives. Other changes improve Fastify route attribution, Rust taint-flow detection and path resolution, C# LINQ and antiforgery analysis, and GitHub Actions pinning checks. Private NuGet registries configured to replace base feeds now take precedence during dependency downloads. GitHub deploys the release automatically on github.com; GHES 3.24 will include it, while older GHES versions can be upgraded manually.

### Source excerpt

CodeQL 2.27.1 adds new queries for C/C++ and C#, support for Kotlin 2.4.20, and query-accuracy improvements. CodeQL is the static analysis engine behind GitHub code scanning, which helps you find...

[Next page](<https://devfeed.tech/topics/c-c-plus-plus.md?cursor=WyIyMDI2LTA5LTI1VDA5OjU1OjIzKzAwOjAwIiwgImMxYzBmOTNiLTJhMDktNDVlYS05MmQ5LTNjMDJmZWQ5Y2U0OSJd>)