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.
This article explores strategies to maximize memory latency by identifying the slowest possible way to sum an array of integers.
By deliberately invalidating hardware prefetching, bypassing cache lines, inducing page walk overhead, and forcing DRAM bank conflicts, the author successfully demonstrates a memory access pattern 33% slower than random access.
GCC 16 introduces numerous updates including C99 conformance changes for Solaris, enhanced OpenMP and OpenACC support, and C++26 reflection capabilities.
It includes significant improvements to the standard library, static analyzer, architecture-specific support for x86 and AMD/LoongArch, and expanded SARIF-based diagnostic reporting. Several older features and flags have been deprecated or removed.
onboardapi 9.10.0, by Rheinmetall, is a C++ interface library and middleware for interoperable communication between sensor systems and software components.
Built on ddkit and OMG’s DDS publish-subscribe architecture, it delivers reliable, low-latency exchange and backward compatibility through DDS XTypes and XCDR2, with Java, C#/.NET, and Python wrappers.
This document outlines critical issues preventing Swift 6.0 from exiting its experimental state within the Ladybird project.
Key challenges include LLVM backport requirements, C++ interoperability bugs regarding Optional types and libstdc++ compatibility, and CMake integration hurdles. The list also tracks frontend crashes and memory management questions regarding Swift's integration with custom garbage-collected environments.
Flameshot is a versatile, open-source screenshot tool designed for Linux, Windows, and macOS.
It offers a rich set of features including in-app editing, customizable appearances, and the ability to upload captures directly to Imgur. Users can operate the software via a graphical interface or through extensive command-line arguments, making it ideal for automation and scripting. Key functionalities include delayed captures, drawing tools (arrows, text, blurring), and D-Bus integration. The documentation provides detailed installation guides for various environments, including desktop-specific hotkey configurations for KDE, GNOME, and XFCE. Written in C++ using the Qt6 framework, Flameshot is licensed under GPLv3 and maintains a strict privacy policy regarding user data. Developer-focused sections cover compilation from source using CMake and contribution guidelines for the community.
3x speedup of DFlash2 for Inkling2m on llama.cpp (50 -> 150 on code tps)
Artificial Intelligence · C · C++ · Large Language Models · Performance
A llama.cpp patch increases Inkling2m DFlash2 code speed from 51 to 158 tok/s by fixing drafter target activations and vocabulary handling.
It adds target visit metadata, supports selector soft-cap ordering, applies Inkling’s target RMS normalization when borrowing embeddings, and handles GGUF compatibility defaults. These changes raise acceptance from about 5 of 5,615 proposals and improve prose speed from 51.2 to 85.7 tok/s.
137B A6.8B model from Microsoft?
Artificial Intelligence · C · C++ · Large Language Models · Machine Learning
llama.cpp adds native support for Microsoft’s Maion-Coder architecture (`general.architecture = maion-coder`).
The integration introduces model hyperparameters, tensors, graphs, architecture registration, NEOX rope, GGUF metadata, model saving for per-layer expert FFN sizes and MoE latent size, and a four-layer test covering dense/MoE layers, sliding-window/full attention, GQA, and non-uniform expert sizes. Loading fails early when required MoE or attention configuration is missing.
Ben Joffe introduces a compile-time constant algorithm for signed 64-bit floor division, using a sign-selected magic multiplier and wide multiply-shift.
Benchmarks report 10–20% higher throughput than existing methods on ARM for most divisors, and 5–10% gains on x86 for about 80% of positive and 60% of negative divisors, with trade-offs in remaining cases. The article compares Granlund–Montgomery and Robison techniques, derives implementation details, and warns of TensorFlow’s historical overflow bug.
bo2-mac statically recompiles the 32-bit x86 Windows versions of Call of Duty: Black Ops II into a native ARM64 macOS app built from the player's own Steam copy.
Remill lifts about 150,000 functions to LLVM IR; custom passes, a hand-written Win32 runtime, and a Direct3D 11-to-Metal layer replace Windows, Wine, and JIT execution. Campaign, six Zombies maps, and multiplayer against bots run locally at 51–60, 57–60, and 53–60 fps respectively on an Apple M1, with no game files distributed.
llama.cpp support for Cohere models
Artificial Intelligence · Computer Vision · C · C++ · Large Language Models
llama.cpp adds support for Cohere2 vision models, currently targeting CohereLabs/command-a-plus-05-2026-bf16.
The implementation includes Cohere2VisionModel and a Cohere2 vision image_preprocessor. Users convert the text model and multimodal projector to GGUF, then run llama-mtmd-cli with an image prompt; the example correctly describes a newspaper article about the Apollo 11 moon landing. The contribution reports AI use for code cleanup, testing, and review.
EDG’s C++ front end is now open source on GitHub, with The C++ Alliance providing fiscal sponsorship and technical continuity.
Development follows community contributions, ongoing maintenance, and collectively funded features in one public codebase, overseen by the Fiscal Sponsorship Committee. The engine, standards support, and primary contact remain unchanged; funding and access are now open.
google-ai-edge/ml-drift
Artificial Intelligence · C++ · Machine Learning · Performance · Software Architecture
ML Drift is a cross-platform, GPU-accelerated on-device inference engine designed for low-latency, power-efficient execution of demanding ML workloads, including LLMs.
It supports OpenCL, Metal, WebGPU via Dawn, and OpenGL ES 3.1+, using a backend-agnostic GpuModel, dynamically generated UCL shaders, tensor virtualization, operator fusion, memory reuse, hardware-specific tuning, and FP16/INT8/INT4 quantization. It is the successor to TensorFlow Lite’s GPU delegate.
llama.cpp: Add FP8 KV-cache
Artificial Intelligence · C · C++ · Large Language Models · Machine Learning
llama.cpp adds support for OCP-FP8 KV-caches with optional runtime static per-tensor scales.
The implementation uses graph-level scaling and multiplication rather than modifying ggml_flash_attn_ext, aligning ownership with NVFP4/FP8 and enabling shared FP8 logic across flash attention and standard attention. End-to-end tests cover conversion, loading, context shifts, and correctness of scaled caches, including non-unit-scaled usage in NVIDIA’s Mistral-Medium-3.5-128B-NVFP4 model.
In this personal reflection on software development, the author explains their unconventional choice of using vanilla C for independent game development.
Despite the dominance of C++, C#, and modern engines, the author prioritizes reliability, long-term availability, and extreme simplicity. They argue that C offers unmatched portability across operating systems and consoles while maintaining high performance and exceptionally fast compilation speeds, which is crucial for maintaining developer focus. The author critiques C++ for its overwhelming complexity and slow build times, and rejects OOP-heavy languages like Java and C# due to their rigid data-code coupling. While acknowledging that C is 'a sharp knife' that requires careful handling, the author concludes that its stability and extensive tooling make it the most sustainable choice for their creative workflow, ensuring their games remain playable and maintainable for decades to come without being tethered to fleeting technologies like Flash.
WiiFin is an experimental homebrew C++ client for Jellyfin designed for the Nintendo Wii.
It utilizes GRRLIB and MPlayer CE to provide media streaming, featuring library browsing, transcoding-based playback, and secure authentication. The project is open-source under GPLv3 and provides binaries for both Wii and vWii consoles.
After 20 years, the author has officially retired from Emacs.
They successfully replaced essential tools like M-x calc and Elfeed with new native C++ GUI applications built using wxWidgets. These replacements offer multi-platform support and improved performance. The author is now seeking new maintainers for their legacy Emacs packages.
This manual provides a comprehensive introduction to Nintendo DS homebrew game development.
It covers essential programming topics including hardware architecture, graphics engines, sprite management, input handling, and sound integration using C and C++ with the libnds library. It also explores the legal context and evolution of homebrew hardware development.
llama.cpp : bump version to 1.0.0 by ggerganov · Pull Request #32190 · ggml-org/llama.cpp
Artificial Intelligence · C · C++ · Large Language Models · Machine Learning
llama.cpp reaches v1.0.0, removing deprecated public APIs and promoting the NextN/speculative API into llama.h.
It adds FP8 KV caches, configurable CPU-backed MoE expert caching, external PLE shard loading, four new model or TTS architectures, and MageVL-Cowork and Kimi-K3.1 vision support. The release hardens llama-server against SSRF, CORS, and DNS rebinding, adds /v1/audio/speech, redesigns the web UI, and updates ggml to v1.0.0 with FP8, YaRN, and backend performance improvements.
A new ocamlc patch enables compiling OCaml code into C++ templates, creating a purely functional execution environment.
This unconventional approach leverages C++ template metaprogramming for computation, highlighting challenges with memory usage and performance, while exploring the potential for cross-language compatibility through template structures.
The Chromium C++ style guide provides a comprehensive overview of supported and restricted language and library features from recent C++ standards (C++11, C++14, C++17, C++20, C++23) and the Abseil library.
Chromium maintains its own decision-making process for feature adoption based on toolchain support, security, and performance. While many modern features like designated initializers, concepts, and three-way comparisons are permitted, several standard library components such as std::regex, std::filesystem, and std::thread remain banned in favor of Chromium's internal alternatives in the 'base/' directory. The document also outlines the procedure for proposing feature status changes via a community discussion process, ensuring that the codebase remains modern while adhering to strict performance and architectural guidelines. Third-party libraries have slightly more flexibility but must still avoid features with poor security or compiler support.