Recent stories
Each story's summary, with the places it was discussed.
Summaries are written by AI from the linked sources. Open the source for full context.
Tailslayer is a C++ library designed to mitigate DRAM refresh-induced tail latency by replicating data across independent memory channels.
It utilizes hedged reads to fetch data from the fastest responding replica. The library supports customizable signal and work functions, providing developers with a high-performance tool to optimize memory read operations on hardware platforms like AMD, Intel, and Graviton.
EDG Compiler Project is an open-source C/C++ compiler centered on a highly compatible, configurable EDG front end with extensive documentation and bug emulation across Clang, GCC, and MSVC.
It also provides C and C++ back ends, a prelinker, minimal runtime support, intermediate-language tools, a name demangler, and development utilities.
Cpp2Rust is a syntax-driven tool that automatically translates C++ code into safe Rust using Clang's AST.
By utilizing the libcc2rs runtime library to handle pointers, it ensures safety through reference counting while offering an optional unsafe mode. The tool integrates with CMake, supports complex projects via compile_commands.json, and produces clean Rust code through rustfmt.
Balloting for C++26 ended in disapproval: 12 of 20 P-members supported it (60%, below the required 66.66%), while 9 of 22 member bodies voted against it (41%, above the 25% limit).
Robert Seacord called it a sad day and hoped the community could move forward productively. Harald Achitz argued the rejection of a controversial, flawed contracts proposal showed a healthy national-body process and might prompt reconsideration of WG21’s “experts in the room” voting approach.
Cloudflare’s quiche is an open-source Rust implementation of QUIC and HTTP/3, offering low-level packet, connection, timer, pacing, and stream APIs.
Applications provide I/O and event loops. It includes an HTTP/3 module, C/C++ FFI, command-line tools, and build support for Linux, Android, iOS, and Docker, with integrations across Cloudflare, Android, and curl.
C++ integral promotions create surprising and hazardous behavior for bitmask operations on enums. `bool` and smaller integer types promote to `int`, so complementing `true` produces `-2` and converting back yields `true`; GCC incorrectly handles some bool-backed enum cases, unlike Clang and MSVC.
Unscoped enums without fixed underlying types can also make casts after `~` or shifts invoke UB. P4313R1 should constrain supported enums and exclude `bool`; floating-point conversions expose further compiler inconsistencies.
jank has significantly improved its compiler experience with accurate runtime stack traces, dedicated error pages, and ranked C++ candidate diagnostics.
Its new Cargo-like native build system supports sandboxed dependency builds through Clojars, complemented by the jank commons package repository. Additional updates improve the REPL, macro performance, exception handling, and overall stability ahead of Clojure Conj 2026.
A developer participated in the Langjam Gamejam by building a 3kB shoot 'em up game on Windows.
The project features a custom bytecode virtual machine, a compiler written in F#, a C++ interpreter, and a GLSL shader for rendering. The creator utilized a live-coding workflow to iterate efficiently, successfully demonstrating that bytecode interpretation can be smaller than native code.
Unreal Editor startup hashing was accelerated by replacing SHA1 with xxHash for shader source, which is non-sensitive data.
Profiling the Electric Dreams sample project across five runs showed FSHA1::Update consuming 12.90 seconds of aggregate CPU time, versus 1.59 seconds for FXxHash64Builder::Update—about eight times faster; stored hashes also shrank from 20 to 8 bytes. Epic accepted the pull request, adding an FShaderHash wrapper and fixing non-editor builds, though it is not yet merged.
Satelital was built and released as a solo project with a custom C++ game engine and development tools.
The engine evolved from SDL2/OpenGL to Vulkan, supported macOS and Windows, and used shaders, prerendered Blender assets, height maps, ray marching, and procedural terrain to create a 3D look in 2D. Custom editors, shader hot reloading, logs, performance work for Steam Deck, and platform-specific fixes enabled puzzle iteration and cross-hardware stability.
Andrew Kensler’s `permute()` generates a pseudorandom permutation of array indices without storing the permutation.
It combines a seed-dependent invertible hash with cycle-walking to map any index into an arbitrary-length array, enabling unique sampling and parallel random access in average constant time. Iterating over k of n items therefore uses O(k) time and O(1) memory, unlike Fisher-Yates’ O(n) storage and time. It is not cryptographically secure and works well only up to roughly 2^27-sized domains.
C++26 became the first C++ standard to fail ISO national-body approval, largely because of opposition to Contracts.
Only 12 of 20 P-members supported it, below the 66.66% requirement, while 9 of 22 member bodies voted against it, exceeding the 25% limit. Contracts add standardized runtime preconditions, postconditions, and assertions, but critics cite non-guaranteed enforcement, safety concerns, complexity, and ignored national-body feedback, exposing deep governance and process problems in WG21.
The author shares their experience of building a 2D game engine from scratch using C++ and DirectX 9, rather than relying on high-level engines like Unity.
This technical journey involved creating a Breakout clone while managing low-level tasks such as window creation via Win32 API, manual rendering pipelines, and custom physics systems. Key technical challenges discussed include implementing the State Pattern for robust game architecture, solving physics tunneling through Swept AABB collision detection, and separating collision detection from resolution. The project demonstrates how low-level development provides deep insights into performance optimization and software engineering that abstracted tools often hide.