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.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.
This article explores the fundamental architecture of VisiCalc, the first spreadsheet software, and demonstrates how to build a minimal clone in C.
Key concepts include a grid data model, a recursive descent parser for formula evaluation, a simple recalculation engine for reactive updates, and a curses-based TUI.
Restartable sequences (rseq) are a high-performance Linux feature that enables thread-safe, lock-free, and atomic-free data structures by allowing the kernel to manage critical sections via shared memory.
By leveraging rseq and CPU-local sharding, developers can achieve significant performance gains on multi-core systems, effectively eliminating contention in high-throughput applications like custom memory allocators.
pw-loudness-eq ports Windows’ Loudness Equalization to PipeWire by reverse-engineering WMALFXGFXDSP.dll.
Its loudness module applies broadband automatic gain control to each application’s playback stream, keeping quiet and loud sections closer in level, while a separate limiter adapted from AudioEng.dll prevents clipping after mixing. A GTK3 app and PipeWire metadata support global or per-application control. It reproduces Windows-style processing rather than equalizing frequency spectrum.
The Game Engine White Papers: Commander Keen offers an in-depth look at 1990s game development.
Authored after three years of research, this 214-page book details historical hardware like the 80286 and EGA cards. It includes the engine's source code on GitHub and is available as a free PDF or print edition.
LZ4 is an open-source lossless compression library and command-line tool designed for very high throughput.
Its default compressor reaches 770 MB/s and its decoder 4,950 MB/s in the reference benchmark, while LZ4_HC improves compression ratio at lower compression speed without reducing decompression speed. It supports dynamically tuned acceleration, dictionary compression using the final 64 KB of input, block and streaming frame formats, and APIs for standard and high-compression modes. The library uses BSD 2-Clause, while the CLI uses GPL-2.0-or-later.
sameshi.h is a minimal chess engine implemented in C, utilizing a 120-cell mailbox board and Negamax search with alpha-beta pruning.
Despite missing complex rules like castling or promotion, it achieves approximately 1170 Elo through material-based evaluation and capture-first move ordering, as validated by 240 games against Stockfish.
This project explores hosting a website on an 8-bit AVR64DD32 microcontroller.
The author utilizes SLIP over a serial connection for network transport and implements a custom, minimal TCP stack. Connectivity is achieved using a WireGuard tunnel paired with a reverse proxy, allowing the low-power device to serve web content publicly despite its memory and processing limitations.
The author developed a Type-2 hypervisor and encountered a critical system crash when managing Task State Segments (TSS) during core switching.
The issue, stemming from a C integer promotion and sign-extension bug in the kernel's helper function, corrupted virtual memory addresses. The author fixed it by correctly casting segments, resulting in their first accepted Linux kernel patch.
The Zig development log for 2026 highlights significant updates, including a more efficient new ELF linker with fast incremental compilation, a restructured build system for improved performance, and revamped type resolution.
Additionally, the project is replacing C-based libc implementations with direct Zig wrappers, adopting native Windows APIs for efficiency, and introducing enhanced package management workflows.
AFL++ fuzz testing on glibc-based Linux can uncover defects in C and C++ programs more effectively with several practical techniques: enable ASan, UBSan, assertions, and stronger allocation checks; prefer persistent mode; include source files to reach internal functions; isolate test iterations; copy inputs instead of using AFL++’s buffer directly; avoid unnecessary cleanup; use memfd_create for named paths; and reduce fixed buffer sizes to expose edge cases sooner.
FFmpeg 9.1 “Gauss” was released on 2026-11-20 as the latest stable version from a branch cut from master on 2026-10-24.
It ships libavutil 61.19.100, libavcodec 63.24.100, libavformat 63.16.100, libavdevice 63.5.100, libavfilter 12.8.100, libswscale 10.5.100, and libswresample 7.6.100. FFmpeg provides source code, while compiled packages come from external distributors; releases are cryptographically signed for verification.
blqsort is a high-performance sorting algorithm for C and C++ that optimizes execution speed by minimizing branch mispredictions.
It achieves superior results over std::sort and pdqsort by using a branchless partitioning strategy, sorting networks for small subsets, and median-of-medians pivot selection, making it highly effective for both primitive types and custom data structures.
This comprehensive repository serves as a deep-dive technical blog and note collection focused on the CPython source code, specifically based on version 3.8.0a0.
It provides an exhaustive analysis of the Python interpreter's internal mechanics, covering fundamental data structures like dict, list, and unicode, as well as complex features such as asyncio, the Global Interpreter Lock (GIL), and Garbage Collection (gc). The content is tailored for experienced developers who wish to understand the low-level implementation of memory management, the buffer protocol, and class creation processes including MRO and metaclasses. Furthermore, it explores the C API, Cython, and C++ extensions, offering guidance on writing high-performance code and bypassing the GIL. By referencing authoritative books and blogs, the repository creates a roadmap for mastering the CPython virtual machine and its architectural nuances.
The author introduces sp.h, a portable, single-header C99 standard library designed for direct system interaction.
By avoiding traditional libc dependencies, utilizing explicit allocators, and replacing null-terminated strings with length-prefixed slices, sp.h offers a modern, ergonomic, and high-performance alternative for systems programming, prioritizing simplicity and cross-platform compatibility without unnecessary heap abstraction.
Zen C is a modern systems programming language designed to transpile into human-readable GNU C/C11.
It bridges the gap between high-level language ergonomics and low-level control by offering advanced features such as type inference, pattern matching, generics, and traits. Crucially, it maintains 100% C ABI compatibility and provides sophisticated memory management tools like RAII, defer, and autofree. The language also includes modern primitives like async/await for concurrency and a powerful macro-like compile-time execution system. With support for multiple backends including GCC, Clang, and Zig, Zen C is positioned as a versatile tool for developers who require C's performance with a more robust, contemporary syntax.
The author explores why FreeBSD memory metrics diverge across monitoring tools like btop and fastfetch.
They discover that reporting used RAM on modern operating systems is complex due to disk caching and kernel-level paging. By debugging kernel parameters and fixing integer overflow issues, the author submitted patches to improve memory accuracy.
Type Safe Generic Data Structures in C
Algorithms · C · Low-Level Programming · Programming Languages
A C technique creates type-safe generic data structures by combining inline storage with a union that carries compile-time type information.
A List(type) union exposes both a runtime node head and a type-specific payload pointer; macros use the ternary operator to reject mismatched elements while automatically supplying sizes. Flexible array members keep each node and its data in one allocation. The approach supports lists, maps, and trees, with typedefs needed when passing instantiated types between functions.
OpenSSH adds composite ML-DSA 87 / ECDSA p384 key support, enabling MLDSA87-P384 keys and certificates across key generation, loading, agent constraints, default client and host-key discovery, and ssh-keyscan.
The change enables ML-DSA 87 implementations in libcrux-mlkem-mldsa.c, adds standard filenames and the ssh-keygen mldsa87-p384 type, and gates the feature on WITH_OPENSSL.
Fil-C enhances C/C++ memory safety by pairing pointers with AllocationRecord metadata.
The system uses source code transformation, bounds checking, and a garbage collector to manage memory. While performance costs exist, Fil-C provides a robust framework for debugging memory bugs, safe compile-time evaluation, and serves as an important practical example of pointer provenance in systems architecture.