Topic digest

Low-Level Programming news and engineering summaries

Low-level programming discussions covering assembly, memory management, systems programming, and hardware interaction from developer communities.

342 recent stories

Latest ranked stories

Current Low-Level Programming 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

boykopovar/AnyPS5

boykopovar/AnyPS5

AnyPS5 automatically ports PS5 executables to Linux and Windows without emulation or a separate runtime process. Its relinker converts executables to native target formats, while implementations of system prx libraries support dynamic linking. The project includes SDL-mapped controller input, configurable keyboard and mouse controls, and a shader recompiler that produces validated SPIR-V. Dreaming Sarah reaches stable 60 fps on a GTX 1050 Ti and i5-7500; unsupported states terminate with std::runtime_error.

02bryankeller.github.io

I Ported Mac OS X to the Nintendo Wii

A developer successfully ported Mac OS X 10.0 Cheetah to the Nintendo Wii. By writing a custom bootloader, patching the Mach-O kernel, and developing IOKit drivers for the Wii's Hollywood SoC, the project achieved a functional desktop environment. This effort involved solving complex challenges like endianness, framebuffer rendering, and USB hardware communication.

03tomshardware.com

Hardware researcher spins up 'CPU deoptimization' project to find the slowest single x86 instruction, creates hall of shame — worst offender takes 198 billion cycles spanning 62 seconds to execute

Hardware researcher spins up 'CPU deoptimization' project to find the slowest single x86 instruction, creates hall of shame — worst offender takes 198 billion cycles spanning 62 seconds to execute

Hardware researcher Christopher Domas created the CPU Deoptimization leaderboard to identify the slowest x86 instructions. By manipulating PCIe fabric through MMIO and state restoration, he achieved a record-breaking 198 billion cycle latency (62 seconds) for the xrstore64 instruction. This project highlights deep architecture vulnerabilities and provides a unique, tongue-in-cheek perspective on low-level performance bottlenecks.

04github.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.

05codeandcake.dev

Docker is weird

Docker containers are Linux processes rather than virtual machines, assembled from namespaces, cgroups, networking, and other kernel features. Docker images are directories used as a process’s root filesystem. Its runtime, runc, uses complex workarounds because Go is multithreaded and lacks fork, including a C module and re-executing /proc/self/exe. Docker typically requires root for kernel APIs, while rootless networking may require a userspace network stack.

06divagr.com

Qwenputer: A functioning, deterministic RISC-V CPU inside Qwen3.5

Qwenputer: A functioning, deterministic RISC-V CPU inside Qwen3.5

Qwenputer embeds a deterministic 32-bit RISC-V CPU in Qwen3.5-4B’s weights, using Gated DeltaNet state as exact, addressable RAM and running entirely during forward passes without external tools or runtimes. Compiled layers implement RV32IM, Zba, big-number arithmetic, C, and MicroPython; the CPU passes riscv-tests, ran 18 million instructions without error, and reaches 100% on NUPA long-integer arithmetic. An experimental filesystem stores up to 512 files, but the 18.8-GB model requires RvChat and runs slowly.

07timwehrle.de

Storing 2 bytes of data in your Logitech mouse

A developer successfully used the Logitech MX Vertical mouse as a tiny, persistent storage device by hacking its HID++ protocol. By writing arbitrary two-byte data into the DPI register, they demonstrated that the mouse maintains state across devices. The project highlights reverse engineering, firmware communication, and understanding OS-level hardware management through experimental technical exploration.

08github.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.

09developer.nvidia.com

Introducing CUDA Rust: Two Tracks for Writing GPU Kernels

Introducing CUDA Rust: Two Tracks for Writing GPU Kernels

NVIDIA is developing native GPU programming in Rust through two early-stage CUDA Rust tracks: cuda-oxide for SIMT kernels and cutile-rs for Tile kernels. Both compile or JIT-compile Rust to GPU code while using Rust’s ownership and type systems to catch aliasing and safety errors. Tile simplifies architecture mapping; SIMT preserves low-level control, including performance-critical tuning.

10dmitrybrant.com

Defeating a 40-year-old copy protection dongle

In a unique case of software archaeology, a researcher successfully bypassed hardware-based copy protection for a legacy RPG (Report Program Generator) II compiler used by an accounting firm. The firm was incredibly still running Windows 98 in 2026 to execute 40-year-old software requiring a physical dongle on a parallel port. By using the Reko disassembler to analyze 16-bit x86 executables, the researcher identified a specific 0x90-byte code segment responsible for dongle communication. Analysis revealed that the routine returned a constant value in the BX register regardless of input. Through brute-force testing within DosBox, the constant was identified as 7606h. Applying a four-byte assembly patch (MOV BX, 7606; RETF) successfully emulated the dongle presence, allowing the software—and its compiler—to run on modern emulators without the original hardware.

11larstofus.com

The gold standard of optimization: A look under the hood of RollerCoaster Tycoon

The gold standard of optimization: A look under the hood of RollerCoaster Tycoon

RollerCoaster Tycoon remains a benchmark for game performance, largely due to Chris Sawyer’s expert use of Assembly and aggressive low-level optimizations. By balancing technical constraints with design choices—such as clever pathfinding limitations and simplifying complex agent interactions—Sawyer prioritized engine efficiency, creating a seamless simulation that holds up decades later.

12pepsipu.com

Jailbreaking the Switch 2

ns2jb is a software-only, tethered jailbreak for Switch 2 firmware 23.0.1 that enables native code execution as ordinary and built-in sysmodules. A SmileBASIC integer-overflow exploit provides memory access, while a `fs` path-normalization buffer overflow enables arbitrary read/write and bypasses executable verification, allowing custom programs to run with sysmodule permissions. The jailbreak supports homebrew, save backups, peripheral access, reverse engineering, and game modding, demonstrated with a modified Mario Kart World.

13rustfoundation.org

Rust Is Tier-1 Language at Microsoft

Rust Is Tier-1 Language at Microsoft

Microsoft has designated Rust a Tier-1 language, providing internal teams with secure toolchains, production workflows, and deep Windows integration. Its new rustc_codegen_utc backend connects rustc to MSVC, enabling shared code generation, security, diagnostics, optimization, and Rust/C++ interoperability. Production-ready since early 2026, it already supports over 100 Microsoft repositories.

14github.com

11 year old unsoundness bugs found in Rust borrow checker

11 year old unsoundness bugs found in Rust borrow checker

Rust’s borrow checker accepts an unsound program involving a generic type with a custom `Drop` implementation. The example stores a reference to a stack-local `String` in `Q`, whose `Drop` moves it into a global `Mutex<Vec<Box<dyn Any + Send>>>`, then reads it after the local expires. It compiles on current nightly and stable versions back to 1.85.0, prints unrelated stack data, and triggers AddressSanitizer’s stack-use-after-scope error.

15github.com

Atari 2600 Raiders of the Lost Ark source code completely disassembled and reverse engineered. Every line fully commented.

Atari 2600 Raiders of the Lost Ark source code completely disassembled and reverse engineered. Every line fully commented.

This repository provides a comprehensive reverse-engineered source code analysis of the 1982 Atari 2600 classic, Raiders of the Lost Ark, originally designed by Howard Scott Warshaw. The analysis detail includes the disassembly of 8KB of ROM code across two banks, explaining how the 6502 assembly manages the hardware limitations of the Atari Television Interface Adaptor (TIA). Key technical features explored include the bank-switching mechanism using zero-page RAM trampolines, the division of game logic across TV signal phases (VSYNC, VBLANK, Kernel, and Overscan), and the specific rendering kernels for rooms like the Thieves' Den and the Ark Room. The project also documents unique programming tricks such as using bit 7 of sprite data for inline TIA register modification and the logic behind inventory management, collision detection, and the scoring system.

16github.com

Spaghettifying DRAM

Spaghettifying DRAM

Christopher Domas’s skitter-creek-bath-salts research demonstrates how modifying undocumented AMD Family 16h DRAM-controller address transformations can create aliases to protected memory. Using cache/TLB coordination and GF(2) linear algebra with z3, the toolchain reportedly reads or writes PSP, SMRAM, C6 state, and microcode stored in DRAM, exposing limits of higher-level isolation mechanisms.

17rvembedded.com

A 3rd World Embedded Engineer Responds to "RISC-V They Should Have Known Better"

Armstrong Subero challenges Dmitry Grinberg’s criticism of RISC-V, acknowledging flaws in extensions and encoding but arguing they matter less than affordability, availability, and openness. Using CH32, Baochip, and OrangePi examples, he shows one ISA scaling from ultra-cheap MCUs to protected Linux-class systems, unlike ARM’s licensed product boundaries, enabling global education and experimentation.

18werwolv.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.

19fex-emu.com

The scourge of x86 emulation

FEX explains why emulating x86-TSO on ARM remains difficult: ARM’s weaker ordering, alignment rules, split-lock atomicity, and write-combine memory create severe performance and correctness problems. Newer LRCPC/LSE2 features, Apple’s hardware TSO mode, Qualcomm’s coherent cachelines, kernel patches, and UMA workarounds help, but full split-lock and uncached-memory support still require architectural improvements.

20github.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.

Snapbyte.dev workflow

Get a Low-Level Programming digest by email

Create a Snapbyte.dev digest and choose Low-Level Programming as one of your topics.