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.
Rairii ported classic Mac OS to Nintendo’s PowerPC ArtX systems, reaching the desktop on a Wii for the first time and booting Mac OS 7.6 on real hardware.
The project required porting OpenBIOS, adapting the Trampoline, device tree, memory mappings, interrupt handling, m68k and native drivers, and implementing a fake-SCSI block driver. Mac OS 7.6 boots from SD over SPI in about 40 seconds; Mac OS 9.2.2 works after removing Open Transport. Wii/Wii U drivers and further hardware support remain.
borland-reborn recovers the source of Borland’s classic DOS compilers from their published executables and rebuilds them byte for byte with the original Borland toolchain.
Its first project, Borland C++ 2.0 (1991), covers 22 executables including BCC.EXE, protected-mode tools, utilities, runtime modules, and a native compiler port. Readable names, comments, documented behavior, and a modding build distinguish it while preserving binary equivalence and testing compiler outputs.
A java4shell bug in OpenJDK’s x86_64 AVX-512 VBMI Base64 decoder can corrupt the heap on invalid inputs.
In StubGenerator::generate_base64_decodeBlock(), L_finalBit mishandles 1–63 leftover bytes: when length < 4, output_size begins at zero, padding decrements it below zero, and the resulting output_mask permits stores beyond the logical output length. The proposed fix is to return to Java early for length < 4. The change targets issue 8392044 and requires two reviews.
It's the Memory Latency, Stupid
Algorithms · Backend · Database · Low-Level Programming · Performance
Database CPU usage at 100% can conceal severe memory stalls: a naive GROUP BY over 99m rows and ~17m unique UserID values took 3.6 seconds, with 50.1% of CPU slots stalled on memory and only 16.1% retiring operations.
Radix partitioning into 4096 cache-friendlier groups reduced the second-run time to 2.7 seconds, memory stalls to 23.5%, and DRAM demand from 4.5GB to 1.5GB. Pivot reached 1.848s on one core and 171.773ms on 16 cores, requiring 954MB from DRAM.
This 16-byte x86 DOS assembly program, created for the Outline Demoparty, generates a Sierpinski fractal on screen while simultaneously outputting it as audio via the PC speaker.
By manipulating VGA memory and using cellular automaton logic, the code produces complex mathematical patterns and gritty bytebeat sounds, demonstrating advanced sizecoding techniques and hardware-level interaction in real-mode DOS.
Using AI to reverse engineer hardware
Artificial Intelligence · Hardware · Linux · Low-Level Programming · AI Agents
AI-assisted reverse engineering produced a Linux SANE backend for the newer Plustek OpticFilm 8200i, the Negative Vibes scanning app, and patches improving MIPI camera support on a ThinkPad.
Using a Windows VM, USB captures, and hardware comparisons, the generic hw-harness lets Claude or Codex compare vendor and Linux traces to infer undocumented controls and test drivers. The scanner backend adds infrared scanning and dust removal, while camera fixes substantially improve brightness and color. Real hardware validation remains essential.
Windows XP selects the initial account profile picture using RtlRandomEx, seeded with GetTickCount().
It scans the Default Pictures directory once, applying k=1 reservoir sampling: each item gets a 1/count chance to replace the current winner. This reduces filesystem calls, tolerates directory changes, and stops after 100 pictures to prevent pathological cases.
Go 1.26 and 1.27 introduce experimental SIMD APIs: architecture-specific archsimd and portable simd.
The portable package hides vector-size, masking, and instruction differences, delivering near-assembly performance with emulation fallback across amd64, arm64, and wasm. Compiler specialization removes dispatch overhead, while GODEBUG enables hardware-mode testing. Future releases target SVE and broader operations.
Mouser is a lightweight, open-source alternative to Logitech Options+ designed for the Logitech MX Master 3S.
It provides local button remapping, per-application profiles, and DPI control without telemetry or cloud requirements. Supporting Windows and macOS, it utilizes HID++ 2.0 for gesture button functionality and low-level hooks for seamless input customization.
This project demonstrates a remarkable technical feat by porting the 1993 classic game DOOM to run on the Pinebuds Pro, which are unique for using open source firmware.
The developer optimized the game for the hardware's Cortex-M4F processor, overclocking it to 300mhz to handle the demands of both the game engine and MJPEG encoding. One major challenge was the memory limitation, solved by utilizing a trimmed-down version of the game assets known as Squashware and disabling the co-processor to access 992KB of RAM. To enable remote play over the internet, the developer implemented a low-latency streaming system via UART and a custom proxy, allowing users to play the game through a web browser with a maximum of 18 frames per second.
22-Year-Old PostgreSQL Bug Turned into Remote Code Execution
Backend · Cybersecurity · Database · Low-Level Programming · PostgreSQL
Researchers uncovered a 22-year-old PostgreSQL core type-confusion flaw that can turn a low-privileged login into remote code execution.
By preparing a query with a composite type, changing an attribute before execution, and reinterpreting stale UUID bytes as bytea, attackers can forge expanded objects, invoke native function pointers, call system(), and leak addresses to defeat ASLR. The issue, reported across 21 variants, led to CVE-2026-6460 and five related CVEs, affecting PostgreSQL and managed-compatible services.
At Arm’s request, Jon Palmisciano will discontinue his reference site on 4 December 2026 after Arm’s lawyers threatened legal action.
The site documents the AArch64 instruction set and system registers defined by Armv8-A and Armv9-A, with search and manual listings for Base, SIMD, SVE, SME, AArch64, and AArch32 content. Jon thanked users and said he would investigate ways to preserve bookmarks and links.
Fearless SIMD v1.0 brings safe, performant SIMD to stable Rust without ad-hoc `unsafe`.
It supports portable and hardware-width vectors, multiversioning through the `#[simd]` macro, and safe access to platform intrinsics with no performance ceiling. Designed for stability, it offers three years of security updates, future extensibility, and complements rather than replaces `std::simd`.
Voltage fault injection on NVIDIA’s GA100 fuse controller can bypass CMP 170HX product restrictions, turning some 8GB mining cards into functional A100-80G-class accelerators.
By manipulating fuseless-fuse settings, the researcher enabled up to 120–128 SMs, 64–80GB of HBM, PCIe Gen4, and potentially NVLink and other disabled features. Hardware-unlocked cards delivered about 1.18–1.2× retail A100 FP16 performance. The findings were disclosed to NVIDIA and released with research code.
ymawky is a lightweight, static-file web server written entirely in hand-crafted ARM64 assembly for macOS.
It uses a fork-per-connection model and functions without libc. While focused on macOS, it features atomic PUT operations, path traversal protection, MIME type detection, and configurable security timeouts to mitigate Denial of Service risks.
SIMD-accelerated computer vision on a $2 microcontroller
Algorithms · Computer Vision · Hardware · Low-Level Programming · Performance
A SIMD-accelerated FAST feature detector for the $2 ESP32-S3 uses its 128-bit SIMD instructions to process QVGA frames in about 6 ms and achieve roughly 220% higher throughput, rising from 5.1 MP/s to 11.2 MP/s.
The implementation handles the chip’s lack of misaligned reads, signed-only eight-bit comparisons, and saturating arithmetic using register-slice extraction and XOR-based unsigned-to-signed conversion, enabling real-time 30 fps VGA computer vision.
Lions' Commentary on Unix: Why It Was Secretly Copied for 20 Years
Low-Level Programming · History · Operating Systems · Computer Science
John Lions’ Commentary on Unix was secretly copied for 20 years after he used Unix source code to teach operating systems at the University of New South Wales in Australia.
The work addressed how to teach operating systems through detailed source-code study, making Unix’s implementation a central educational resource for students and technical readers.
Bare Metal Qwen
Artificial Intelligence · Large Language Models · Low-Level Programming · Performance · Operating Systems
Phase 2 delivers a standalone x86-64 bare-metal OS written in pure assembly that runs Qwen/Qwen3-0.6B without Linux, Windows, C, Rust, or libc.
The stripped Multiboot 1 kernel is 24,252 bytes, boots to interactive multi-turn chat in 74–94 ms, binds a 614 MiB model zero-copy from RAM, and retains a persistent KV-cache. It achieves byte-for-byte parity with Phase 1 across 1–32 vCPUs, reaching 134.9 tok/s on QEMU KVM and 55.4 tok/s on Proxmox VE.
Zig v0.17.0 delivers five months of work from 206 contributors, substantially reworking the Build System with a Build Server Protocol and improving the ELF Linker for Incremental Compilation on x86_64-linux.
It advances language stabilization, introduces new builtins and SPIR-V support, modernizes the Standard Library, expands target coverage, updates the toolchain, and includes significant breaking changes.
Branch mispredictions hinder CPU performance by forcing pipeline restarts.
By replacing conditional branches with branchless alternatives—such as using conditional increment instructions—developers can maintain linear control flow. Although branchless code may involve redundant memory writes, the performance gains on modern architectures are significant when dealing with unpredictable, large datasets.