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.
Inkling 2 mini pp degradation just got fixed in llama.cpp (Vulkan)! Vulkan vs ROCm comparison
Artificial Intelligence · C++ · Large Language Models · Low-Level Programming · Machine Learning
llama.cpp’s Vulkan backend fixes Inkling 2 mini prompt-processing degradation by adding indexed bias support throughout Flash Attention shaders and pipeline selection.
The patch introduces BiasBins, bias-table and bias-index buffers, query/head mapping for GQA, staged bias loading for cooperative-matrix paths, and bias-aware handling of zero masks, sparse masks, and flip paths. It also accounts for bias_bins in pipeline-state comparisons and tracks reserved shared memory. No ROCm measurements or direct Vulkan-versus-ROCm results are provided.
Introducing the llama.cpp benchmark dashboard for AMD Ryzen and Radeon
Artificial Intelligence · C++ · Large Language Models · Performance · LLM Benchmarks
The llama.cpp × AMD Benchmark dashboard is now available on Hugging Face, enabling comparison of prompt-processing and text-generation performance across llama.cpp builds, models, and quantizations on AMD Ryzen and Radeon hardware.
It currently covers Radeon 8060S (gfx1151) and Radeon AI Pro R9700S (gfx1201), with PP512 and TG128 tests, build-history and context-scaling views. Weekly public workflows run llama-bench with Flash Attention on and off and 10 repetitions; results are reusable from a public Storage Bucket.
GDN: use replay instead of rollback by am17an · Pull Request #31669 · ggml-org/llama.cpp
Artificial Intelligence · C · C++ · Large Language Models · Performance
A llama.cpp pull request proposes replacing GDN snapshot rollback with replay, coordinated across backends including CUDA, Vulkan, Metal, Hexagon, OpenCL, SyCL, and WebGPU.
On an RTX PRO 6000, replay reduced recurrent-state memory by 73–91% for 3–15 snapshots; 32 sequences at seven snapshots used 5.5 GiB instead of 37.4 GiB. Speed was roughly flat for speculative decoding and prefill, while batched verification improved up to 34.5%, depending on workload and batch size.
qwen4exp : halve the indexer score memory by ServeurpersoCom · Pull Request #29825 · ggml-org/llama.cpp
Artificial Intelligence · C · C++ · Large Language Models · Performance
PR #29825 halves qwen4exp indexer compute-buffer memory in llama.cpp by scoring one head at a time, applying ReLU in place, and accumulating each head’s result instead of copying all scores.
CUDA memory falls from 3.0 to 1.5 GiB at 131k context/ub 2048 and from 6.1 to 3.0 GiB at ub 4096; at 262k/ub 4096 it drops from 11.7 to 5.6 GiB. Logits remain bit-exact, speed is unchanged, and full-model loading avoids OOM again.
C++ Insights is a Clang-based source-to-source transformation tool that reveals compiler-generated behavior in readable C++ code.
It expands constructs such as lambdas, range-based for-loops, structured bindings, auto, implicit special member functions, operator calls, and casts, helping developers and educators understand modern C++ semantics. It is available online and as a command-line application.
Efficient C++ requires more than choosing a native language: prioritize data layout, cache locality, contiguous structures, and parallelizable operations.
Prefer Data-Oriented Design and AOS/SOA based on access patterns, minimize allocations and costly I/O, understand STL and compiler behavior, reuse objects, and measure performance while avoiding unnecessary abstraction and premature micro-optimization.
bitnet.cpp is Microsoft’s official inference framework for 1-bit and ternary LLMs, providing optimized CPU and GPU kernels for fast, lossless local inference.
It supports BitNet b1.58 and community models, including the 2.4B-parameter BitNet-b1.58-2B-4T and 270M/0.6B embedding models. Reported speedups reach 6.17x on x86 and 5.07x on ARM, with energy reductions up to 82.2% and 70.0%, respectively. The project builds on llama.cpp and uses I2_S, TL1, and TL2 kernels.
Bohemia Interactive has open-sourced the Poseidon engine source code for Arma: Cold War Assault.
Modernized to C++20 and built with CMake, the code is released under GPL-3.0 to allow community study and modification. Trademarks remain protected, and game assets follow the APL-SA license, requiring separate distribution.
The author demonstrates how C++ coroutines, often dismissed as low-level or abstract, can simplify complex state machine logic in game development.
By adopting a 'Unity-style' approach—using generators to manage sequential frames—developers can replace verbose state transition code with readable, linear functions, effectively simplifying game effect orchestration.
Comparing memory safety CVEs between Rust and C/C++ is misleading because of fundamental differences.
In Rust, any library usage causing memory bugs without using 'unsafe' is considered a library soundness bug. In C/C++, due to language limitations, similar bugs are often dismissed as user error, making Rust's CVE reporting significantly more stringent and reliable.
Fil-C achieves memory safety through a secure calling convention that validates function signatures and pointer capabilities.
By implementing optimized register-based calling and direct call optimizations—using arithmetic signature encoding and ELF linkage techniques—Fil-C maintains high performance in the 'common case' while ensuring robust protection against adversarial behavior and type-mismatches.
Audionaut is a free, open-source C++ multitrack audio editor and recorder for Windows, macOS, and Linux.
Built with JUCE, it provides precise editing, analysis, auto-editing, stem separation, and clean exports without full DAW complexity. MCP integration lets Claude and other AI agents control sessions, while audionaut-cli enables headless, scriptable JSON workflows.
This project provides a native x64 Windows port of the historical Microsoft Word 1.1a (Opus).
It replaces legacy 16-bit components and memory management with a modern compatibility layer, allowing the original application to run on 64-bit Windows without emulation. The codebase maintains original logic while updating build tools, Win32 API adaptations, and unit testing infrastructure.
The article explains how to integrate C++ libraries into Godot through GDExtension and godot-cpp 10.
Using Conan, developers can manage platform-specific builds and dependencies consistently. A practical flecs example creates a Swarm node that simulates and renders 100,000 particles, exposing configurable properties to Godot’s editor and GDScript.
In C++, = default and {} are not the same constructor
C++ · Low-Level Programming · Performance · Programming Languages
In C++, `span() = default` and `span() {}` can produce different initialization behavior and performance.
A first-declaration `span() = default` keeps `span` trivial: `span s;` leaves members uninitialized, while `span s{}` zero-initializes the object. An empty `span() {}` is user-provided; both forms leave members uninitialized, although the call may be optimized away. In a `box` loop, GCC 15/16 made `= default` take about 8 ns per span versus 1.73 ns with `{}`; GCC 14 and clang 21 showed no slowdown.
OBS Studio 33.0 updates CEF from 127/6533 to 150/7871, overhauls plugin loading, enables NVENC on Arm64, and improves preview snapping and numeric controls.
It adds encoder checks, NVIDIA Broadcast SDK support, audio-monitoring hotkeys, better Game Capture detection, and macOS transparency handling. The release fixes crashes, stream disconnections, Studio Mode and PipeWire issues, removes Ubuntu 24.04 support, and introduces developer-facing API and toolchain changes, including Visual Studio 2026 and FFmpeg 6.x/7.x removal.
3DMMEx, a modern source port of Microsoft's 3D Movie Maker, now runs natively on Linux.
By replacing Win32 APIs with SDL, removing x86 assembly, and decompiling static libraries like AudioMan, the project enables this 30-year-old software to function on modern cross-platform environments while maintaining full compatibility with original assets.
Craft is a lightweight build tool for C and C++ projects that simplifies dependency management and project configuration.
By using a simple craft.toml file, it automatically generates CMake configuration and handles builds, eliminating the complexity of manual CMake management while offering a modern command-line interface.
This update explores ReXGlue, an innovative static recompilation tool for Xbox 360 games.
Developer Tom explains how the project uses AOT compilation to convert PowerPC code into native C++ for PC, distinguishing it from traditional JIT-based emulation. The report also highlights the N64RecompLauncher and various updates to emulator projects like ShadPS4, RPCS3, and PPSSPP.
llama.cpp and ggml have released version 1.0.0, establishing semantic versioning for their public C APIs and ABIs.
Major versions will mark incompatibilities, while minor and patch releases cover compatible features and bug fixes. The portable C/C++ stack supports multimodal LLM inference across consumer and enterprise hardware through quantization and dedicated backends, with more than 150 model architecture variants. Releases are distributed across major operating systems and packaging channels, supported by expanded CI infrastructure.