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 technical deep dive explores GNU Emacs' internal architecture, focusing on the Lisp_Object in C.
It details how tagged pointers and memory alignment optimize dynamic typing within a 64-bit machine word. By deconstructing Lisp's mathematical foundations and McCarthy's axioms, the post illustrates the bridge between C implementation and Lisp runtime efficiency.
Brunost is a niche, functional esoteric programming language written in Zig that forces developers to use Nynorsk for all identifiers and keywords.
Designed for fun rather than production, it emphasizes readable, plain-language syntax while strictly enforcing valid Nynorsk terminology through a built-in dictionary interpreter.
otya128/winevdm runs 16-bit Windows applications from Windows 1.x through 3.1 on 64-bit Windows, where native Win16 support is unavailable.
It combines a CPU emulator, Wine-based Win16-to-Win32 conversion, DOS emulation, and 16-bit/native HANDLE translation, with compatibility fixes and support for direct execution through installation integration. It can also run DOS executables, although its DOS emulation is incomplete and DOSBox or MS-DOS Player is recommended.
This technical project chronicles the process of developing a custom SCSI driver for the Epson FilmScan 200 on a classic Mac SE/30 running System 7.
Facing limitations with modern compatibility, the author reverse-engineered the ESC/I protocol and utilized technical service manuals and disassembled 68k code to achieve functionality. Key challenges addressed included SCSI Manager API interactions, figuring out the specific [frame, frame] byte format for frame selection, and handling interleaved G-R-B color data blocks. The final 450-line C application, built using THINK C, successfully digitizes 35mm film at 1200 DPI, integrating vintage hardware into a modern archival workflow via FTP.
GNU Emacs’s canvas patch has been merged upstream for the Emacs 32 release cycle.
It adds an image type backed by an ARGB32 pixel buffer, accessible through Emacs Lisp or dynamic modules, enabling efficient in-place updates via canvas-refresh without full redisplay. Demonstrations include animations, physics visualizations, and interactive 3D graphics, opening possibilities for readers, games, editors, and plotting tools.
NGINX is free, open-source software that serves web content and provides high-performance load balancing, reverse proxying, API gateway, and content caching.
Its modular architecture supports static and dynamic modules, while text-based directives enable flexible configuration. A master process manages worker processes that distribute requests across CPU resources and synchronize through shared memory. The repository provides stable and mainline releases, official packages, source builds, and TLS, rate-limiting, load-balancing, and caching capabilities.
Fil-C recompiles C/C++ with capabilities, runtime checks, and concurrent garbage collection, making legacy software memory-safe at runtime.
The proposal is an `extern "fil-c"` Rust FFI with safe wrappers, copied data, and opaque handles, while compiling complete dependency graphs under Fil-C’s ABI. filnix supplies a Nix toolchain, Zig is exploring a related ABI, and collaboration could unite these ecosystems.
Undefined behavior (UB) in C/C++ is not predictably limited to a segfault or the apparent source-code effect.
With GCC and clang, the same UB involving `std::unreachable()` can cause execution to fall through into an uncalled `explode()` function; replacing it with a null-pointer write can emit a zero write to address zero followed by `ud2`; adding 10 to the null pointer can emit a write of 99 to address 40. Compilers are not required to detect UB, so its consequences can be anything.
zebkit packages Chromium 157’s engine—Blink, V8, PDFium, FFmpeg and related libraries—as a cross-platform application library for Linux, macOS and Windows, without Chrome’s browser, Electron’s runtime or Node.js.
Native applications retain their windows and event loops while accessing web views, PDFs, media, graphics, networking, desktop integration and sandboxed, permission-controlled JavaScript. Bindings support C, C++, Rust, Python, Go and JavaScript. Compared with Electron 45.2.1, it reports 34% smaller distribution size, faster cold startup, 29% lower blank-page memory, and integrated in-process Playwright and MCP tooling.
The authors bypassed a school grader’s AST-based allowlist to invoke forbidden execve without naming it.
Because ASan replaces printf but not execve, they leaked the fixed libc offset between allowed printf and mmap, reconstructed mmap’s address, and used it to allocate writable/executable memory. They copied a small x86-64 syscall stub there and invoked Linux syscall 59 (execve), launching /bin/sh. The proof of concept worked on the target VM and was reported to the school.
Eclipse Mosquitto is an open source MQTT broker implementing MQTT 5.0, 3.1.1, and 3.1.
It includes C and C++ client libraries, command-line tools for publishing, subscribing, request/response messaging, and administration, plus configurable authentication and dynamic security support. The broker offers optional TLS, persistence through sqlite3, HTTP API, SRV support, and interactive control features, making it suitable for deploying MQTT messaging systems across multiple platforms.
A vulnerability in OpenSSH on musl-based systems arose because Unix uses "*" to mark locked accounts while musl’s crypt returns "*" for overlong passwords; sshd’s timing-leak mitigation can therefore let unauthenticated users log in, potentially as root, on configurations such as Alpine’s official AWS image.
The issue is not memory safety: the author argues C’s weak error modeling enables unsafe sentinel conventions, whereas Rust’s Result types and community norms compel error handling. LLM agents do not erase these ecosystem differences.
The author explains why segmentation faults were not displaying when using the entr utility to run a C program.
The issue stems from bash optimizations where it executes sub-commands directly via execve, bypassing the reporting mechanism. Using subshells or adding subsequent commands ensures bash remains as a parent process to properly catch and report the segmentation fault signal.
Tech expert Nathan Goldbaum discusses removal of Python's Global Interpreter Lock (GIL) to enable free-threading, modernizing the scientific ecosystem with Rust and PyO3, and the evolution of version control tools like Mercurial and Jujutsu.
He also shares personal insights on open-source sustainability, academic reproducibility, and managing developer burnout through structured work-life boundaries.
musl libc’s regcomp function has multiple integer-overflow vulnerabilities that can cause undersized allocations and potentially out-of-bounds heap writes when compiling sufficiently large or complex regular expressions.
Applications are vulnerable when they compile regular expressions from untrusted sources. The issue affects versions 0.5.0 through 1.2.6, enabling at least predictable crashes and possibly arbitrary code execution. Users should apply the patch or upgrade to 1.2.7; otherwise, block untrusted regular expressions.
Parsing the sizeof operator in C is complex because it accepts either a unary expression or a parenthesized type name.
The ambiguity increases with compound literals and postfix operators. Effective parsing requires careful handling of these structures to avoid incorrect backtracking, especially when distinguishing between casts and mathematical expressions.
POSIX wordexp(3), often used for tilde expansion in C, is unsafe for untrusted input because its default flags enable command substitution, allowing inputs such as `$(whoami)` or `$(cat /etc/passwd)` to execute commands.
Using `WRDE_NOCMD` may not fully prevent this: musl and macOS libc delegate to shells or helpers whose scans can miss valid substitutions. Therefore, do not use wordexp(3) on untrusted input, even with `WRDE_NOCMD`.
Starting October 26 2026, curl will require LOW and MEDIUM vulnerability reports to be submitted publicly as GitHub issues, while HIGH and CRITICAL reports remain private in HackerOne.
The change responds to an avalanche of reports, over 90% of which are assessed below HIGH, many involving improbable AI-generated option combinations. curl expects public review to share workload and improve fixes, while accepting a longer exposure window for less severe issues and rejecting reports that pose no practical user risk.
a neat trick i found for reusing physical memory
C · Linux · Low-Level Programming · Performance · Operating Systems
A Linux mmap trick uses memfd_create and CoW to duplicate a memory-backed template without upfront physical allocation.
After filling a shared mapping, a MAP_PRIVATE mapping provides a virtual copy whose pages remain shared until written; modifying one byte allocates only its 4 KiB page. A 32 MiB test consumed 32.004 MiB total. The author also wonders whether a continuous region filled with identical non-zero data could initially use just one physical page.
lambdock is a Free Software, Wayland-native desktop dock built with C, GTK4, gtk4-layer-shell, and embedded GNU Guile Scheme.
Its architecture combines a high-performance C core with live Lisp configuration and a Unix socket REPL, enabling hot-reloading, multi-dock orchestration, dynamic widgets, window tracking, and fluid animations. It supports many Wayland compositors and is packaged for Guix, Nix, and Linux distributions.