Tag
At the June 2026 C++ standards committee meeting in Brno, three papers enabling lifetime-end pointer zap were voted into C++29, solving a problem since the 1998 standard, and progress was made on forbidding out-of-thin-air (OOTA) values in the draft standard.
A developer benchmarks Claude's C++ code, finding that prompting for maximum speed often introduces memory-safety violations without actual performance gains, debunking the assumed trade-off between speed and safety.
quicktok is a fast and exact BPE tokenizer in C++ that is byte-identical with tiktoken, achieving 2–11x speedup over existing alternatives. It supports cl100k, o200k, GPT-OSS, Llama-3, and Qwen2.5/3 encoders.
An analysis of how memory safety CVEs are reported differently in Rust vs C/C++, arguing that Rust's design reduces certain classes of vulnerabilities even when bugs exist.
C++26's #embed and static reflection, combined with the simdjson library, allow JSON parsing at compile time, turning configuration files into compile-time constants with no runtime overhead.
Orthodox C++ is a minimal subset of C++ that avoids modern features, advocating for a simpler, C-like style to improve readability and compatibility.
This article demonstrates a technique to simulate Python-style keyword arguments in C++ by using structs with designated initializers, improving code readability without macros or template magic.
This article explains a technique to avoid calculating the greatest common divisor when performing cycle decomposition in std::rotate, as used in OpenJDK's Collections.rotate method. It provides a C++ implementation that tracks the count of rotated elements to determine when all cycles are complete.
A documentary about the 40-year history of C++ premiered on YouTube, featuring key figures like Bjarne Stroustrup and highlighting its evolution from Bell Labs to global adoption.
A new branchless Quicksort implementation (blqsort) using sorting networks outperforms std::sort and pdqsort on Apple M1 and AMD Ryzen systems, available as single-header C and C++ libraries. It achieves speedups through branchless partitioning, median-of-medians pivot selection, and custom sorting networks for small arrays.
Raymond Chen revisits a unidirectional rotation algorithm for swapping adjacent memory blocks, explaining its recursive approach and performance characteristics.
llama.cpp is an open-source LLM inference engine in C/C++ with minimal dependencies and support for various hardware and quantization methods. This pull request limits the maximum outputs of llama_context.
NVIDIA's Parakeet speech-to-text models have been ported to pure C++/ggml, achieving byte-identical output to NeMo, up to 5x faster inference on GPU, and quantized GGUF variants for efficient deployment anywhere without Python or PyTorch.
A Linux CLI tool written in C++ that encrypts folders using AES-256-GCM, hides file and folder names with an encrypted mapping, and supports USB-based key loading.
A detailed blog post explaining how virtual tables (vtables) are implemented in the Itanium C++ ABI, covering vtable structure, mangled names, and virtual function dispatch.
A blog post updating the classic survey of C constructs that don't work in C++, covering changes in C++20 and C23 standards that affect compatibility.
This article explains how to use Win32 structures in the Windows Runtime by declaring shadow structures with the same layout, including specific examples and alternatives for common structures.
An experienced C++ developer argues that all non-trivial C and C++ code contains undefined behavior, making memory safety impossible and calling into question the continued use of these languages in modern software development.
The author details the third iteration of the bx library's cross-platform SIMD abstraction, advocating for a typeless approach and SSA-style coding to simplify low-level performance optimization across different CPU architectures.
The Engineering Director of Age of Empires provides an in-depth analysis of the technical debt in the series' pathfinding system over the past 25 years, pointing out that legacy code, dynamic map mechanics, and floating-point errors caused by SIMD instruction sets replacing x87 extended precision are the root causes of classic bugs such as units clipping through walls.