Topic digest

C news and engineering summaries

C programming discussions covering systems programming, memory management, and embedded development. Our digest aggregates undefined behavior, compiler optimizations, and embedded systems from developer communities.

221 recent stories

Latest ranked stories

Current C stories

These stories are ranked from recent public source activity and shown as a preview of what a configured digest can deliver. Summaries are AI-generated; open the original source for full context.

01github.com

JustVugg/colibri

JustVugg/colibri

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.

02github.com

Assembly Hall of Shame

Assembly Hall of Shame

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.

04mitchellh.com

Libghostty 1.0

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.

05github.com

llama : add a GPU cache for MoE experts kept in host memory by am17an · Pull Request #29887 · ggml-org/llama.cpp

llama : add a GPU cache for MoE experts kept in host memory by am17an · Pull Request #29887 · ggml-org/llama.cpp

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.

06werwolv.net

USB for Software Developers: An introduction to writing userspace USB drivers

USB for Software Developers: An introduction to writing userspace USB drivers

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.

07prophitt.me

A Modern Web App in C

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.

08github.com

AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs

AOSP Source Releases Are So Late Developers Disassemble Libraries to Report Bugs

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.

09github.com

oosexgang/hackios-xnu-kernel

oosexgang/hackios-xnu-kernel

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.

10github.com

FareedKhan-dev/kimi-k3-in-c

FareedKhan-dev/kimi-k3-in-c

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.

11broccoli2shell.com

Broccoli2Shell: Brotli decoder RCE (CVE-2026-111497) in Node.js, Python and more

Broccoli2Shell: Brotli decoder RCE (CVE-2026-111497) in Node.js, Python and more

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.

12github.com

cs341-illinois/coursebook

cs341-illinois/coursebook

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.

13github.com

Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

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.

14warped3.substack.com

Direct Win32 API, Weird-Shaped Windows, and Why They Mostly Disappeared

Direct Win32 API, Weird-Shaped Windows, and Why They Mostly Disappeared

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.

15box2d.org

Announcing Box3D :: Box2D

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.

16github.com

h0m3us3r/w1700k-sdr

h0m3us3r/w1700k-sdr

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.

17lcamtuf.substack.com

Your process' memory is a file: The underappreciated gem that is /proc/<pid>/mem

Your process' memory is a file: The underappreciated gem that is /proc/<pid>/mem

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.

18github.com

ppmpreetham/BUI

ppmpreetham/BUI

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.

19github.com

crustc: entirety of `rustc`, translated to C

crustc: entirety of `rustc`, translated to C

Cilly is a new Rust compiler backend that translates Rust code into C, enabling Rust development on obscure hardware or platforms that lack native LLVM or GCC support. By generating platform-specific C code through intelligent introspection, it bridges the gap for architectures like Plan9, offering a solution to the bootstrap paradox and expanding Rust's reach.

20nethack.org

NetHack 5.0.0

The NetHack DevTeam has released NetHack 5.0.0, introducing major architectural updates including C99 standard compliance, improved cross-compiling support, and a transition to Lua-based processing for compilers. This release is incompatible with previous save files. Developers welcome bug reports and pull requests to further refine this new version.

Snapbyte.dev workflow

Get a C digest by email

Create a Snapbyte.dev digest and choose C as one of your topics.