Topic

C++

C++ news covering modern standards, performance optimization, game engines, and systems programming. Our digest curates RAII patterns, template metaprogramming, and memory safety discussions from developer communities.

What this topic tracks

  • Language releases and proposals
  • Libraries, tooling, and ecosystem updates
  • Performance, idioms, and production lessons

C++ · 153 stories

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.

20 stories

Show HN: I wrote a C++ ray tracer from scratch without AI

github.com · 15 Jun

C++ · Performance · Open Source

Luz is a C++20 Path Tracer built from scratch without dependencies.

It supports Monte Carlo path tracing, global illumination, BVH acceleration, and atmospheric scattering. Features include adaptive sampling, NFOR-style denoising, and a Blender-to-Luz exporter. It provides a deterministic benchmark harness, cross-platform compatibility (macOS, Linux, Windows), and highly optimized build options.

RiccardoSottini/AffrescoUI

github.com · 28 Nov

C++ · Software Architecture · UI

AffrescoUI is a native UI engine for applications that can be reshaped at runtime by people or AI agents through reviewed, version-controlled changes.

Apps are defined as one screen document in sandboxed AffrescoUI Lisp (a Clojure dialect) or JSON, then rendered by a C++23/OpenGL engine without a browser. In-place reconciliation preserves user state; permission rules, proposals, commits, undo, and two-way MCP govern changes. It includes 13 examples, cross-app features, and embedding APIs.

seamusc/papermono-shopping-list

github.com · 28 Sept

C++ · Hardware · Python

PaperMono Shopping List turns an M5Stack PaperMono e-paper device into a shared household shopping list synchronized with a phone web UI.

Its C++ firmware supports offline editing, touch interaction, partial refreshes, suggestions, and low-power Wi-Fi syncing. A FastAPI and SQLite server stores lists, organizes items by aisle, and optionally uses Claude for automatic categorization.

Fil-Qt: A Qt Base build with Fil-C experience

git.qt.io · 19 Jan

Blockchain · C++ · Open Source

The fil-qt repository is a specialized C++ framework tailored for local development workflows within the Filecoin ecosystem.

It leverages the Qt framework to provide a cross-platform graphical user interface for managing Filecoin actors and network interactions. Key features include tools for visualizing state transitions, debugging smart contracts, and streamlining the deployment process for developers working on the Filecoin Virtual Machine (FVM). By integrating these technical components, the project aims to lower the barrier to entry for building decentralized applications and maintaining robust nodes in a local testing environment.

Resident Evil 4 (GameCube) – complete byte-identical decompilation to C/C++

github.com · 20 Sept

C++ · Open Source · Computer Science

This repository delivers a complete, byte-identical decompilation of the Resident Evil 4 GameCube G4BE08 debug build, reproducing main.dol and 114 REL overlays.

It contains reconstructed C/C++ source, compiler-specific build tooling, verification utilities, documentation, and animation export tools. Building requires user-provided debug disc images and supports research and preservation without including game assets.

ItsNotRexed/Leonida

github.com · 22 Nov

C++ · Low-Level Programming

Leonida is an early-stage static recompilation project that aims to run the Xbox Series version of Grand Theft Auto VI natively on Windows, built locally from the user’s own copy.

It reimplements console system software, translates all 26,503 RDNA2 shaders to SPIR-V for Vulkan, exports models, textures, and audio, and provides PE/import shims plus an in-progress Xbox D3D12-to-Vulkan layer. The game does not boot yet, and the repository includes no game files, keys, or executable.

Performance of Rust Language [pdf]

github.com · 25 May

C++ · Performance · Rust

This talk from C++Russia 2026 analyzes Rust as a systems programming language.

It evaluates performance trade-offs for its safety guarantees, compares idiomatic Rust against C++, identifies specific performance strengths and weaknesses, and outlines best practices for optimizing Rust code.

C++26: The Oxford Variadic Comma

sandordargo.com · 11 Mar

C++ · Programming Languages · Computer Science

C++26 introduces P3176R1, deprecating ellipsis parameters without a preceding comma to improve C compatibility and reduce confusion with variadic template parameter packs.

This 'Oxford comma' for code streamlines syntax, such as changing void f(int...) to void f(int, ...), ensuring better language consistency and opening design space for future C++ features.

WinCE64 – Windows CE 2.11 for N64

github.com · 9 May

C · C++ · Low-Level Programming

This project implements a custom port of Windows CE 2.11 for the Nintendo 64.

By creating a custom HAL, display driver, and SD file system, the system runs on actual hardware using an EverDrive-64 X7. It enables a functional Win9x-style desktop, taskbar, file browser, and support for running third-party MIPS executables directly from an SD card.

Electrobun v1: Build fast, tiny, and cross-platform desktop apps with TypeScript

blackboard.sh · 19 Feb

C++ · Software Architecture · TypeScript

The creator of Electrobun reflects on a two-year journey building a cross-platform desktop framework using TypeScript and Bun.

Designed as a lightweight, fast alternative to Electron and Tauri, it features automated updates, process isolation, and cross-platform support for macOS, Windows, and Ubuntu, overcoming common challenges in desktop app distribution and performance.

New features in GCC 16: Improved error messages and SARIF output

developers.redhat.com · 19 May

C++ · Programming Languages · Testing

GCC 16 introduces several enhancements, notably a new hierarchical error message format for improved C++ readability and updated SARIF output for better machine parsing.

The release also adds an experimental HTML diagnostic mode for path visualization and significantly refactors the static analyzer to support C++ features like exception handling and improved diagnostic accuracy.

IceWM

ice-wm.org · 13 Nov

C++

IceWM is a fast, simple, highly configurable window manager for the X Window System, created in 1997 by Marko Maček and now maintained on GitHub.

It provides keyboard and mouse window control, taskbar, workspaces, Alt+Tab switching, dynamic menus, configurable focus models, themes, tabbed windows, sound effects, and RandR/Xinerama support for multiple monitors. Version 4.1.0 was released on 2026-08-06 under the GNU Library General Public License.

Canvas_ity: A tiny, single-header <canvas>-like 2D rasterizer for C++

github.com · 21 Feb

C++ · Programming Languages · Open Source

This single-header C++ library provides high-quality, immediate-mode 2D vector graphics rasterization based on the HTML5 2D canvas specification.

It emphasizes rendering quality, ease of use, and a compact footprint over raw speed. Supporting features like gamma-correct blending and bicubic resampling, it remains highly portable with no dependencies beyond the standard C++ library.

AVX-512: First Impressions on Performance and Programmability

shihab-shahriar.github.io · 12 Jan

C++ · Hardware · Performance

This technical analysis explores the AVX-512 SIMD paradigm through the implementation of a K-Means clustering algorithm, comparing its performance and programmability against scalar code, auto-vectorization, and GPU-based SIMT models like CUDA.

The author observes that while auto-vectorization by compilers like GCC and Intel ICPX often fails to reach theoretical hardware limits due to complex conditionals, manual implementation using SIMD intrinsics achieved a 7-8.5x speedup over scalar versions. The study highlights that AVX-512 provides a high degree of hardware control, making it easier to reason about performance compared to the abstractions found in CUDA. Furthermore, the analysis suggests that the era of LLMs simplifies the use of explicit SIMD by allowing developers to offload the generation of verbose intrinsics to AI, provided the underlying software architecture is well-designed.

The Lobster Programming Language

strlen.com · 3 Mar

C++ · Programming Languages · Open Source

Lobster is an open-source, statically-typed programming language optimized for game development and graphics.

It features a terse, Python-like syntax, compile-time memory management via lifetime analysis, and a built-in engine supporting OpenGL. Available on GitHub, it provides a fast, portable environment for creating games across multiple platforms including Windows, mobile, and WebAssembly.

Why we write our own C and C++ inference engines

localai.io · 31 Jul

C · C++ · Performance

LocalAI develops custom C and C++ engine ports to replace heavy Python dependencies.

These ports offer small binaries with predictable memory usage and near-identical performance to upstream implementations. By prioritizing numerical parity through rigorous testing before optimization, the team creates drop-in, efficient replacements for models where Python dependencies are prohibitive or unnecessarily complex for production deployment.

Practical Guide to Bare Metal C++

arobenko.github.io · 7 Mar

C++ · Hardware · Software Architecture

A comprehensive technical guide for using C++ in embedded bare-metal development.

It explains how to utilize C++11 features like templates, tag dispatching, and polymorphism to build generic, reusable drivers and components without dynamic memory allocation or exceptions. The content covers event loops, peripheral control (UART, GPIO, I2C, SPI), and asynchronous interrupt-driven communication.

Building Your Own Efficient uint128 in C++

solidean.com · 1 Feb

C++ · Performance · Software Architecture

This technical guide details the implementation of a custom, fixed-width uint128 data type in C++ using two 64-bit limbs.

The author emphasizes performance and predictability over abstraction, demonstrating how to use x64 hardware intrinsics like _addcarry_u64, _subborrow_u64, and _mulx_u64 to match the efficiency of builtin compiler types. By mapping directly to processor instructions such as ADC and SBB, the implementation achieves optimal assembly output. The post highlights the advantages of fixed-width arithmetic over dynamic big-integer libraries for performance-critical applications like geometry and numerics, where memory traffic and branching must be minimized. It also provides a foundation for extending these patterns to even larger widths, such as 256-bit or 512-bit integers, while maintaining high-performance execution.

Show HN: I built a small browser engine from scratch in C++

github.com · 28 Jan

C++ · Software Architecture · Computer Science

A South Korean high school senior developed a custom browser engine in C++17 over an eight-week period to deeply understand the internal mechanics of web rendering.

The project, built using Qt6 and CMake, implements the full rendering pipeline including an HTML tokenizer, DOM construction, CSS parsing with cascade application, layout calculation for block and inline elements, and a graphical rendering engine. Throughout the development, the student tackled complex challenges in asynchronous image loading, memory management, and recursive layout algorithms. The project serves as a comprehensive educational case study on how individual components like selectors, inheritance, and the box model function outside of production environments, emphasizing the importance of systematic debugging and problem-solving grit.

Where it came fromHacker NewsCreate a Snapbyte.dev digest and choose C++ as one of your topics.Build your digest