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 paper presents a zero-overhead, multi-vendor GPU offload framework built into rustc and LLVM.
It uses Rust’s ownership, type, and aliasing guarantees to provide safe memory transfers, addresses Host–Device ABI mismatches with a two-pass compiler pipeline, and achieves competitive GPU-kernel performance against optimized CUDA and HIP C++ on RAJAPerf.
c64-hw-sim is a pin-level simulator of the Commodore 64 ASSY 250407 motherboard, modeling 216 parts and 249 nets so users can remove chips, lift pins, short signals, or open components and observe computed hardware behavior.
It supports graphical and headless operation, .prg loading, fault timing, probing, and oscilloscope views. Cycle-accurate chip cores and real PLA equations improve fidelity, but full-board simulation runs at roughly 31–48% of real speed and omits several analog effects and internal chip faults.
AngstromIO is an ultra-compact development board based on the Attiny1616, featuring a footprint barely larger than a USB-C connector.
The project includes a dual CH340 programming and debugging module, alongside a Risc-V based CH32V003 experimenter board with a charlieplexed LED matrix, designed for space-constrained projects and hardware prototyping.
Calif exploited a roughly 37-year-old OpenBSD kernel bug to obtain local root despite KARL, SMAP, and SMEP, without an information disclosure.
A signed 16-bit SysV shared-memory attachment counter wraps after repeated forking, enabling a use-after-free race combined with an out-of-bounds write. The exploit manipulates heap layout, socket allocations, and recursive PTE mappings to overwrite a predictable kernel pointer. Proposed defenses include safe unlinking, randomized PTE and allocator placement, array-bounds sanitization, and Alloc Tokens.
A developer successfully ran modern software, including a web server, NES emulator, and a Minecraft login protocol, on a 1960s UNIVAC 1219B computer.
By emulating RISC-V on the 90KB memory machine and optimizing with custom toolchains, the project demonstrated pushing legacy hardware to its absolute limits through creative engineering and intensive debugging.
os8088 is a hobbyist graphical operating system for original Intel 8086/8088 hardware.
Written in real-mode assembly, it provides a Macintosh-style desktop environment with overlapping windows and pre-emptive multitasking. Operating independently of DOS, it boots from a floppy disk and runs on as little as 256KB of RAM, showcasing a nostalgic yet innovative reimagining of 1980s computing.
Presented at the 2026 Outline Demoparty, this 16-byte x86 assembly routine performs algorithmic art in DOS.
By XORing video memory to generate a Sierpinski fractal, the code simultaneously renders visual patterns and produces audio via the PC speaker. The project demonstrates extreme memory efficiency and the interplay between mathematical sequences, display hardware, and low-level system design.
Intel’s documented `vfmaddrnd231pd` instruction appears never to have existed in shipping CPUs.
Intended to provide per-instruction rounding, DAZ, FTZ, and exception control through FMA without AVX-512, it is unsupported by assemblers and compilers and raises `#UD` on Haswell. The 2024 Software Development Manual documented it with unique opcode details, but the 2026 edition removed it. The likely explanation is a canceled or withdrawn instruction whose documentation was not fully corrected.
Rust’s polymorphism differs fundamentally from C++: monomorphization provides zero-cost static dispatch, while dyn Trait uses wide pointers pairing data with external vtables for runtime dispatch and heterogeneous collections.
Rust’s ownership enables zero-sized types, and object-safety rules restrict trait objects. Dispatch is chosen at the call site, not embedded in the type.
The author documents the physical construction of WCPU-1, a custom CPU.
Despite successful simulation, the real-world build faced challenges with wiring, timing, and flawed PCB designs. Solutions included synchronizing registers, resolving RAM timing issues via clock gating, and developing custom assembly tools. The project remains a prototype, with further iterations planned to finalize the hardware and open-source the platform.
Fil-C now supports memory-safe context switching using setjmp/longjmp and ucontext APIs.
By abstracting context states into opaque objects and enforcing strict state machine transitions, Fil-C prevents stack corruption and dangling stack access. These implementations integrate with Fil-C's garbage collector and capability model to ensure safe coroutine and fiber management.
The author implemented a high-performance Uxn CPU emulator in nightly Rust using the new 'become' tail-call keyword.
This approach achieved significant performance improvements on ARM64 by enabling token threading without manual assembly. While the implementation surpassed assembly performance on ARM64, performance gaps remain on x86 and WebAssembly due to suboptimal compiler codegen and stack handling.
Dumping an AES key from a MyQ garage opener to stop rebooting when offline
Cybersecurity · Encryption · Hardware · Low-Level Programming
A MyQ Home Bridge (LiftMaster 819LMB/MYQ-G0303) reboots when isolated from the internet because it cannot reach Chamberlain’s MQTT endpoints and receive a 30-minute watchdog ping.
Refusing connections reduces frequent crashes but does not eliminate reboots. The proposed permanent fix extracts the device’s TLS-PSK AES-128 key and serial through Cortex-M4 SWD debug pads, then runs a local Mosquitto-compatible Docker broker using those credentials and redirects both domains via DNS. A solid green light and stable uptime verify success.
An investigation of Knuth’s multiprecision Algorithm D finds a decades-old correctness bug: using a full two-limb quotient in odd bases can leave the trial quotient oversized after two corrections.
The smallest counterexample is base 3. LLVM’s implementation has a stale comparison typo but remains correct; the post also previews faster division methods.
The Art of 64-Bit Assembly offers an in-depth exploration of low-level programming on Windows.
By rebuilding high-level constructs from C++, Python, and Rust in MASM, the book explains how objects, exceptions, coroutines, and concurrency function at the instruction level, moving beyond surface-level AI explanations to provide genuine architectural understanding.
Mousefood is a no-std backend for the Ratatui terminal UI library, specifically designed to work with the embedded-graphics crate.
This allows developers to create sophisticated terminal-like interfaces on embedded systems with limited resources, such as ESP32, STM32, and RP2040 microcontrollers. A key challenge in embedded environments is font support; Mousefood addresses this by integrating embedded-graphics-unicodefonts to handle complex glyphs, including box-drawing and Braille characters essential for Ratatui widgets. The library supports customizable color themes, including standard ANSI and Tokyo Night, and provides specific features for e-ink displays like Waveshare and WeAct Studio. Its hardware-agnostic nature enables broad compatibility across various hardware architectures while maintaining a small memory footprint necessary for typical embedded applications.
An investigation into the Xteink X3 uncovered multiple CrossPoint and freeink-sdk bugs: missing dark-grey rendering, incomplete greyscale updates, and display stripes caused by the short waveform.
Using AI agents, image analysis, test patterns, and device experiments, the author restored four shades and eliminated the stripes with the XTH4 waveform, contributing fixes upstream.
This project explores hosting a website on an 8-bit AVR64DD32 microcontroller.
The author utilizes SLIP over a serial connection for network transport and implements a custom, minimal TCP stack. Connectivity is achieved using a WireGuard tunnel paired with a reverse proxy, allowing the low-power device to serve web content publicly despite its memory and processing limitations.
Reverse-engineering Apple’s M1 Neural Engine reveals a fixed-function, compiler-configured dataflow accelerator: 16 MAC cores, fused activation/LUT logic, task descriptors, dedicated DMA paths, private KMem, and shared L2.
Its CNN-oriented memory hierarchy and serialized, bandwidth-limited transfers—not compute—constrain transformer decode, helping explain Apple’s shift toward integrating Neural Engine functionality into GPUs.
The author researched HDD/SSD firmware modification to exploit a race condition in the Xbox 360.
This involved reverse engineering firmware, using JTAG for live debugging on a Western Digital drive, and implementing a delay hook in memory. Although the specific exploit eventually worked without firmware modifications, the project provided insights into embedded device analysis and firmware patching.