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.
The Plush interpreter replaced a 128-bit Rust tagged enum with a 64-bit low-bit-tagged Value representation supporting fixnums, flonums, immediates, and pointers.
Despite boxing edge cases, benchmarks showed lower memory usage and faster execution across the board, primarily through reduced register spills, memory traffic, and improved generated code. Plush now renders roughly 10,000 polygons interactively.
Paper Tape Is All You Need – Training a Transformer on a 1976 Minicomputer
Artificial Intelligence · Low-Level Programming · Machine Learning
ATTN/11 implements a single-layer, single-head transformer in PDP-11 assembly.
By using custom fixed-point arithmetic and lookup tables for transcendental functions, the model achieves 100% accuracy on sequence reversal within 350 training steps. The project demonstrates efficient machine learning on 1970s hardware while providing a cycle-accurate path for retro-computing enthusiasts.
The article argues that assembly is inherently typed because each instruction constrains operand kinds, widths, registers, immediates, and clobbers.
Odin’s new inline assembly models these semantics with typed, hygienic asm templates, named bindings, inferred clobbers, multiple returns, and one syntax across ISAs. Backed by core:rexcode, compile-time diagnostics replace opaque string-based assembler errors, reportedly implemented in seven days.
A collection of 86-DOS 1.00 kernel source listings by Tim Paterson has been recovered and transcribed into compilable formats.
The project includes historical PC-DOS utilities and BASIC-86 compiler runtimes. Users can access the original scans and the reconstructed buildable source code, which requires traditional Seattle Computer Products assembly tools to compile successfully.
A reverse-engineering project decoded the NEC V20’s 29,928-bit microcode ROM and activation PLAs from high-resolution die photography.
Using MaskRomTool, Python, PyTorch, and a CNN, the author automated bit classification, reconstructed 29-bit words, mapped instruction decoding and microcode fields, and uncovered V20/V30 shared-mask circuitry. The results enable a cycle-accurate MartyPC V20 core, though some fields remain unresolved.
A long-running Go application crashed on 32-bit ARM Linux because netpoll confused a socket with its eventfd.
Go stored raw and tagged pointers together in epoll_event.data; on little-endian 32-bit systems, fdseq eventually matched the eventfd address. A fix using a tagged nil pollDesc was merged, eliminating the aliasing bug.
A developer successfully simulated a computer environment around a physical Harris 80C286-12 processor using a Raspberry Pi Pico and MCP23S17 IO expanders.
The project involved manual clock stepping, wiring 57 pins, and writing MicroPython code to handle memory instruction reads, data transfers, and basic assembly execution in a 'virtual' hardware reality.
Stela is a general-purpose Apple Silicon layer that lets x86-64 PCs boot macOS and most apps through a UEFI program combining an arm64e-to-x86-64 translator, a model of Apple silicon hardware, and an NVIDIA Metal driver.
Its AOT/JIT compiler covers more than 3,000 AArch64 encodings, maps registers, and caches translated code, while AIR is compiled directly to NIR. It supports x86-64-v2 CPUs and GTX 16/RTX 20+ GPUs, currently models Mac mini (M2) and runs macOS 27, but remains slow and experimental.
A Loongson LA664 CPU erratum causes relaxed atomic operations to lose updates across physical cores when interleaved with certain memory reads, including LASX-accelerated memcpy.
The bug can trigger infinite loops and memory-safety failures. AI-assisted reproduction helped identify the cause; Loongson provided tested firmware that fixes it with minimal performance impact.
The PC Engine (TurboGrafx-16) features the HuC6280, a custom 8-bit CPU based on the 65C02.
It runs at up to 7.16 MHz and includes a built-in MMU for bank switching. While lacking the complex 16-bit capabilities of the SNES or Genesis, its high clock speed, lack of memory latency, and efficient block-transfer instructions make it a uniquely capable machine.
A minimal bare-metal kernel written in Zig that boots on x86 via the Multiboot 1 protocol.
It features zero assembly files, using Zig's cross-compilation capabilities to target x86-freestanding-none. The kernel manages memory-mapped I/O for VGA text-mode display and demonstrates low-level system programming without external dependencies or complex bootloader installations.
Leonida is an early-stage static recompilation project that aims to run the Xbox Series version of Grand Theft Auto VI natively on Windows, built locally from the user’s own copy.
It reimplements console system software, translates all 26,503 RDNA2 shaders to SPIR-V for Vulkan, exports models, textures, and audio, and provides PE/import shims plus an in-progress Xbox D3D12-to-Vulkan layer. The game does not boot yet, and the repository includes no game files, keys, or executable.
Copper is a minimal low-level programming language intended as a replacement for C, combining explicit, Ruby-style syntax with object-oriented programming and generics.
It supports inheritance for any type, multiple return values, out-of-order definitions, headerless imports, deferred statements, iterators, option types, and fast compilation. Its design prioritizes simplicity and understandable constructs. The example defines a Point class and main function, while Copper and its standard library/compiler are BSD-licensed.
This article explores the unique font used in the Commodore 64 'Dead Test' diagnostic cartridge.
It analyzes the font's design similarities to the MICR E-13B standard, uncovers a hidden character Easter egg, and explains the technical implementation via the C64's Ultimax mode, which allows the cartridge to function independently of the system's built-in ROMs.
A developer created 'frame', a custom, lightweight X server written entirely in Assembly to replace X11.
This minimalistic build significantly reduces complexity and CPU usage compared to standard stacks. By prioritizing individual control and power efficiency, the developer successfully created a stable, personalized desktop environment while open-sourcing the entire project for public benefit.
wolfIP is a TCP/IP stack designed for resource-constrained embedded systems, featuring zero dynamic memory allocation and a fixed memory footprint.
It supports BSD-like non-blocking APIs, Ethernet, IPv4, TCP, and UDP. Recent updates include a POSIX shim for host-tool injection and a FreeRTOS port, providing lightweight networking under the GPLv3 license.
Spinning around: Please don't – Common problems with spin locks
Distributed Systems · Low-Level Programming · Software Architecture
This technical analysis explores the complexities and common pitfalls of implementing spin-locks.
The author argues that custom spin-locks often lead to significant performance degradation, high power consumption, and severe issues like priority inversion. Key technical insights include the evolution of the PAUSE instruction latency across CPU architectures, the importance of exponential backoff with jitter, and the necessity of using OS-level primitives like Linux futex or Windows WaitOnAddress. By bypassing the OS scheduler, simplistic spin-locks risk 'lock convoys' and livelocks, especially on real-time systems. The article concludes that developers should prioritize OS-provided synchronization primitives over rolling their own implementations, as modern kernels are far better equipped to manage thread scheduling and hardware efficiency than manual loops.
LLVM is a modular, reusable toolkit for building highly optimized compilers, optimizers, and runtime environments.
Its core processes intermediate representations into object files and includes assemblers, disassemblers, and bitcode tools. Clang supports C, C++, Objective-C, and Objective-C++, while related components include libc++ and LLD.
MMX, introduced with Pentium MMX in 1997, brought accessible integer SIMD to mainstream x86 PCs through eight 64-bit registers aliased to x87 registers.
Packed arithmetic, saturation, comparisons, and shifts accelerated multimedia, though EMMS and CPUID were required. MMX lacked floating-point SIMD and had register conflicts; SSE/SSE2 superseded it, making MMX a pivotal transition.
forkrun is a high-performance, drop-in replacement for GNU Parallel and xargs that optimizes shell data processing.
Leveraging NUMA-aware design and lock-free architectures, it scales linearly across modern CPUs, delivering 50x–400x speedups. Its self-tuning mechanism, zero-dependency bash distribution, and efficient memory management make it ideal for high-frequency, low-latency workloads on multi-socket hardware.