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.
llama_moe_cache: run missed experts on CPU, add tuning script by am17an · Pull Request #30966 · ggml-org/llama.cpp
Artificial Intelligence · CLI · C++ · Large Language Models · Performance
llama.cpp pull request #30966 adds CPU execution for MoE experts missed by the cache, controlled by `--moe-cache-cpu-share`, and introduces `moe-cache-tune.py` to optimize cache size and CPU sharing per machine.
The script benchmarks configurations using warm-cache predictions and reports tokens per second and hit rates. In the example, it recommends a 24,000 MiB cache with CPU share 0, predicting 83.0 t/s, while smaller caches benefit from CPU execution.
C++: The Documentary recently premiered on YouTube, detailing the 40-year history of the language from its origins at Bell Labs to its status as a top-tier industry standard.
Featuring industry pioneers like Bjarne Stroustrup, the film highlights the evolution, standardization, and massive recent growth of C++ in fields like gaming, physics, and finance.
The author argues that C++ must rapidly rebuild its composable library and tooling ecosystem or continue losing modern web, AI, and networking work to Rust and other languages.
Building Runvil in Rust, they reached 45 crates, 210,000 lines, and 3,400 tests in 50 days because Cargo made mature components easy to integrate, unlike C++ dependency and build workflows. They contend memory safety alone will not solve this gap, criticize WG21’s focus on std::execution, and recommend advancing C++20 coroutines, shared libraries, templates, and dependency gates in user space.
Hyprland is an independent, highly customizable dynamic tiling Wayland compositor that combines advanced window management with extensive visual effects.
It avoids wlroots, libweston, kwin, and mutter, while providing animations, blur, plugins, tearing support, instant configuration reloads, socket-based IPC, window and monitor rules, scratchpads, tabbed groups, dynamic workspaces, and multiple layouts including Dwindle, Scrolling, Master, Monocle, and Lua- or plugin-based custom layouts.
deepseek-ai/DeepGEMM
Artificial Intelligence · C++ · Low-Level Programming · Machine Learning · Performance
DeepGEMM is a unified CUDA library of high-performance tensor-core kernels for LLM primitives, including FP8, FP4, and BF16 GEMMs, grouped and masked MoE operations, MQA scoring, HyperConnection, and Mega MoE.
It uses DeepJIT to compile kernels at runtime, avoiding CUDA compilation during installation, and favors a small, accessible codebase over heavy CUTLASS templates. It targets NVIDIA SM90 and SM100 GPUs and claims performance matching or exceeding expert-tuned libraries, reaching up to 1550 TFLOPS on H800.
A high-efficiency C++/CUDA inference engine for Llama models, optimized for running 70B parameters on consumer GPUs like the RTX 3090.
It features 3-tier adaptive caching, NVMe direct I/O for bypassing the CPU, and layer skipping via cosine similarity. The engine achieves significant speedups through double-buffered streaming and self-speculative decoding without external dependencies.
llama.cpp v0.6.0 adds the llama_batch_ext API and llama_process() for mixed token/embedding batches and MTP/deepstack state embeddings.
It supports GLM-5.3-Flash, Clef, Ling 3.0 VL, Nimble, and Qwen4Exp MTP speculative decoding, which delivers about 1.5× faster decoding on DGX Spark. The release introduces the /v1/systemone decision-model API, a Hugging Face Hub-powered Web UI and model downloads, new Metal and Vulkan attention kernels, and ggml v0.26.0.
The ISO C++ committee has completed technical work on C++26.
This major release features compile-time reflection, significant memory safety enhancements (including hardened standard library operations), standardized contracts for functional safety, and the std::execution framework. Industry adoption is expected to be rapid, with work already commencing on C++29 to further advance memory safety and language security.
A prominent Carnegie Mellon professor is joining ClickHouse to lead ClickHouse Labs, a new research division.
The team aims to advance database technology by bridging academic research and industrial application. Primary focuses include innovating ClickHouse and PostgreSQL architectures, optimizing performance, and exploring the integration of DBMS solutions with emerging AI and agentic technologies.
Developer Dante Leoncini successfully ported Half-Life to the Nokia N95, a 2007 Symbian-based smartphone.
The game runs at 30 FPS with added Bluetooth mouse and keyboard support. This accomplishment highlights the capability of legacy mobile hardware, using a native Symbian build rather than emulation to achieve performance comparable to 1990s desktop PCs.
PS2 Web Recomp runs PlayStation 2 games in browsers without emulation by statically translating Emotion Engine code to C++, compiling it to WebAssembly, and linking it with a native PS2 runtime using WebGPU.
Gran Turismo 4 and God of War II boot through gameplay with sound, movies, and browser-persistent memory cards. It models PS2 floating-point behavior, vector units, GS rendering, I/O, and SPU2 audio; disc data streams through HTTP Range requests, while game-specific code is unnecessary for the two tested titles.
ClickHouse, which began as a 2009 internal tool for web analytics, has become a leading open-source analytical database.
Built from scratch in C++, it emphasizes modular, well-documented code and a transparent development process. Its evolution from custom prototypes to a high-performance, globally adopted DBMS demonstrates the power of open-source collaboration and engineering discipline.
DSPi is an affordable, high-performance digital audio processor for Raspberry Pi Pico and Pico 2 boards.
It functions as a USB sound card, providing tools like parametric EQ, room correction, volume leveling, loudness compensation, and headphone crossfeed via a low-latency C++ signal chain suitable for diverse audio configurations using S/PDIF, I2S, and PDM outputs.
The C++ Standard Library Has Been Walking Itself Back for Fifteen Years, and the Receipts Are Public
The C++ standard library has struggled for 15 years with design flaws it cannot easily fix due to strict ABI compatibility requirements.
As a result, the library has become a collection of suboptimal defaults—like legacy containers and wrappers—widely discouraged in modern codebases, forcing professional engineers to rely on third-party libraries instead of standard solutions.
Om is a concatenative, prefix-notation programming language developed as a header-only C++ library.
Utilizing a unique panmorphic type system where all data are operands, it focuses on efficiency, recursion, and native extensibility. The project is open-source under the Eclipse Public License, supporting Unicode and modern C++ development standards.
sjq is a jq-compatible command-line JSON filter built on simdjson, reaching 3.5 GB/s with one thread and 20 GB/s with 32 threads on a 1 GB NDJSON file—about 37× and 210× faster than jq 1.8.2.
It accelerates navigation by parsing only needed fields and parallelizing independent lines while preserving output order. sjq passes 728 of jq’s 781 tests, supports most major features, and adds FracturedJson formatting, though modules, very large numbers, deep nesting, and some syntax differ.
PSP Web Recomp runs PSP games in browsers without an emulator by statically translating decrypted MIPS executables into C++, compiling them to WebAssembly, and linking them to a high-level PSP kernel and WebGL2 renderer.
It supports streamed disc data, PSP graphics and audio, worker-thread rendering, and touch controls. God of War: Chains of Olympus reaches 60 FPS at up to 4× resolution; Ghost of Sparta reaches 55–60 FPS at 3×. Game data is not included.
GCC 13.5, the final planned release in the GCC 13 series, delivers more than 265 bug fixes after over a year since GCC 13.4.
The branch is now closed, and users are encouraged to upgrade to newer versions, with GCC 16 currently stable. GCC 13 introduced AMD Zen 4 support, additional Intel targets, Modula-2, and C23/C++23 enhancements.
This series offers a hands-on approach to learning 3D graphics by building a software renderer in roughly 500 lines of C++.
By manually implementing rendering fundamentals without third-party graphics libraries, students gain a deep, practical understanding of how modern APIs like OpenGL, Vulkan, Metal, and DirectX operate under the hood.
gemma4: graph optimizations (massive gains on pp for E2B and E4B) by max-krasnyansky · Pull Request #31356 · ggml-org/llama.cpp
Artificial Intelligence · C · C++ · Large Language Models · Performance
PR #31356 optimizes gemma4 E2B and E4B prefill by dropping unused prompt-token rows before KV-shared layers, avoiding computation where those layers do not write to the KV cache.
Intermediate ubatches become no-ops and the final ubatch processes one row; support is limited to unified-KV. It also simplifies PLE projection by folding scaling constants and slicing tensors via strides. Outputs matched master across text, image, audio, and long-context tests. E2B pp512 reached 4603 t/s versus 1614 on M4 Pro Metal; E4B reached 1319 versus 806.