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.
JustVugg/colibri
Artificial Intelligence · C · Large Language Models · Low-Level Programming · Performance
colibri is a pure-C, zero-runtime-dependency inference engine that runs very large mixture-of-experts models on consumer hardware by keeping dense layers in RAM and streaming routed experts from disk.
It supports 13 engines, models up to 2.8T parameters, CPU execution, Vulkan and CUDA GPUs, GGUF files, and Apple Silicon Metal. Its adaptive expert caches, disk-read overlap, hardware-aware setup, OpenAI- and Anthropic-compatible APIs, dashboard, and System One decision interface distinguish it from conventional inference runtimes.
The Assembly Hall of Shame is a project by Christopher Domas that identifies the slowest possible single instructions on x86 architectures.
By deliberately triggering microcode assists, hardware traps, or saturating PCIe fabric with high-latency MMIO transactions, it reveals extreme performance penalties, with the record-holding 'fxrstor64' instruction taking over 198 billion cycles to complete.
Dirty Frag is a critical local privilege escalation (LPE) vulnerability affecting major Linux distributions.
It exploits weaknesses in the kernel's network sub-systems (specifically AF_ALG/XFRM and AF_RXRPC) to gain root access. Because the disclosure embargo was breached, no official emergency patches currently exist, making the system highly vulnerable.
libghostty-vt 1.0 makes the portable, high-performance C terminal-emulation library and its C ABI stable.
Extracted from Ghostty, it already powers JetBrains IDE terminals serving over 12.5 million active users, with adoption across Neovim, KDE, Turborepo, devenv, Emacs, WASM projects, and commercial products. It provides enforced ABI compatibility, standard packaging, MIT licensing, no runtime dependencies beyond libc, broad platform support, customizable allocation, no threads, and low resource usage.
llama : add a GPU cache for MoE experts kept in host memory by am17an · Pull Request #29887 · ggml-org/llama.cpp
Artificial Intelligence · C · C++ · Large Language Models · Performance
llama.cpp adds a GPU cache for MoE experts stored in host memory.
MUL_MAT_ID operations on host experts run on the GPU through an LRU cache, so only misses are uploaded; it targets batches of up to 32 tokens, while larger batches use regular offload, and different expert layouts get separate banks. Enable it with --moe-cache-mib N; tests found 10% of total expert size effective. On Qwen3.8-Flash-Next Q4_0, speedups reached 1.62x on RTX 4090 and 2.20x on RTX 5090.
ggml 1.0.0 removes deprecated APIs and legacy DIAG_MASK operations, adds configurable YaRN truncation, FP8 support, and TRI backward propagation, and raises the RPC protocol to v9.
It improves scheduling and MoE cache transfers, while delivering backend optimizations including few-row and fused CUDA matmuls, Metal MoE fusion, Vulkan FlashAttention prefill, SYCL device-side MoE scheduling, Adreno OpenCL FlashAttention, new WebGPU and Hexagon kernels, and CPU precision and SIMD updates.
Writing USB drivers is accessible without deep kernel knowledge, thanks to userspace libraries like libusb.
This guide explains USB enumeration, endpoints, and descriptors using an Android phone in Fastboot mode. By understanding device identification and transfer types (Control, Bulk, Interrupt, Isochronous), developers can create functional drivers in userspace, mirroring simple network socket communication.
A commercial web product, marketyour.games, was built and deployed in C using CGI on OpenBSD with httpd and SQLite.
It provides accounts, search, folders, Stripe payments, Postmark email, progressive enhancement, and no JavaScript, while compiling assets into one statically linked binary. The stack uses libcurl, libsodium, and vendored libcjson, with each request spawning a process and deployments requiring only file replacement. The author values its simplicity, security, debugging, and minimal supply chain, but notes that CGI requires custom utilities for common web tasks.
AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs
Android · C · Low-Level Programming · Mobile
Android 17 September 2026 builds contain a bionic libc regression in `wcscspn()` and `wcspbrk()`: with reject sets of at least two characters all below U+0100, both incorrectly stop at the first haystack character ≥ U+0100.
The table-based scan treats that character as a match, breaking Unicode text handling; `wcsspn()` remains correct. Pixel 7 and 8a are affected, and Visual Pinball required plain-loop workarounds. Public June sources do not contain the regression.
HackiOS boots Apple’s open-source XNU kernel (xnu-8796.121.2, iOS 16.5) on Android hardware and runs the unmodified iOS 16.5 user space, from launchd through SpringBoard and apps.
It combines an EFI loader, UEFI port, XNU patches, replacements for closed Apple drivers, a Linux Wi-Fi driver compatibility layer, and injected libraries. It supports QEMU and the POCO X5 Pro 5G, with touchscreen, GPU, Wi-Fi, sound, camera, and many apps working, while cellular, Bluetooth, Metal for apps, and charging remain unsupported.
kimi-k3-in-c implements Kimi K3 inference in portable C99 without BLAS, a framework, or a GPU.
It runs the 2.78-trillion-parameter, 1.56-TB MoE checkpoint on one CPU by streaming inactive experts from disk, using MXFP4 weights and configurable trunk/cache budgets; only 16 of 896 experts activate per layer. Measured peak RSS reaches 8.24 GB, while larger memory budgets improve speed. Deterministic kernels and tests verify byte-identical output across configurations and platforms.
Broccoli2Shell: Brotli decoder RCE (CVE-2026-111497) in Node.js, Python and more
Backend · Cybersecurity · C
Broccoli2Shell (CVE-2026-111497) is a critical Brotli decoder flaw affecting versions 1.0.3–1.2.0: a malformed block switch causes an out-of-bounds write that can leak memory or enable code execution.
Any software decoding attacker-controlled Brotli data, including Node.js, Python HTTP clients, servers, archives and vendored libraries, may be exposed. Upgrade Node.js to 22.23.4, 24.22.1 or 26.12.1, Brotli-based packages to fixed releases, and rebuild private copies; mitigations include rejecting Brotli request bodies.
cs341-illinois/coursebook is an open-source introductory systems programming textbook for the University of Illinois Urbana-Champaign’s CS 341 course.
Written in C for Linux-oriented instruction, it improves on an earlier wikibook with more rigorous, cited content, a glossary, extended reading, and automated PDF, Markdown, and HTML exports.
Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock
C · Hardware · Open Source
This project details the creation of an NTP-synchronized analog clock using a WEMOS D1 Mini ESP8266 module.
By modifying a standard quartz movement, specifically the Lavet stepping motor, the creator enables the ESP32 to drive the clock hands via bipolar pulses. The system connects to a Network Time Protocol server every 15 minutes to maintain high accuracy and automatically adjusts for daylight savings time. To solve the issue of position tracking during power failures, the project utilizes a Microchip 47L04 EERAM IC to store the hand positions in real-time. Additionally, the ESP8266 serves a web interface for initial configuration and status monitoring, utilizing technologies like SVG and HTML Canvas to visualize the clock's readout.
Modern Windows apps, often built on memory-heavy web frameworks, have lost the unique visual identity of the Win32 era.
This technical analysis explores how raw Win32 API enables non-rectangular, custom-shaped, and animated windows. While challenging to implement, this low-level control offers a powerful alternative to generic, bloated desktop software, restoring creative freedom to application interface design.
MuJoCo is a high-performance physics engine developed by Google DeepMind, designed for simulating articulated structures in robotics, biomechanics, and machine learning.
It offers a C API, Python bindings, and extensive toolkits. Supporting multiple platforms and languages, it serves as a foundational tool for researchers and developers requiring fast, accurate, and interactive physics simulations.
Box3D is a new open-source 3D physics engine built in C17, designed as a 3D extension of the established Box2D.
Developed to meet the specific performance and architectural needs of the game The Legend of California, it features triangle mesh collision, height-field collision, and multi-threading support, providing a specialized solution for complex game physics.
W1700K SDR turns a Gemtek W1700K Wi-Fi 7 router into a wideband software-defined receiver, capturing raw 14-bit complex IQ from its MediaTek MT7996 radio at up to 320 Msps and streaming it over 10 GbE to a Linux host.
Custom firmware, built without MediaTek code, supports arbitrary LO tuning, multiple bands, gain and filters. Host tools provide shared streaming, roll-off correction, recording, and browser spectrum/waterfall visualization, operating without fixed channels.
In Linux, /proc/<pid>/mem acts as a file interface for a process's virtual memory.
By using pread() or pwrite() with specific offsets, developers can directly read or modify another process's memory. This elegant approach provides a simpler alternative to the complex ptrace() system calls for tasks like memory analysis and data recovery.
BUI is Blender's GPU-accelerated UI decoupled into a standalone library with a small C core and bindings for Python, Rust, JavaScript/React, C, C++ and Dear ImGui.
It lets developers build native desktop apps with Blender's widgets, interactions, themes and expression-based number editing, without installing Blender or using a browser. It supports tkinter and Qt-style APIs, HTML/CSS, gpui syntax and native components, plus CPU or opt-in Direct3D 11/OpenGL 3.3 rendering with damage-based redraws and headless mode.