Tag
A tweet highlights James Molloy's 2008 free tutorial 'Roll Your Own Toy UNIX Clone OS', which teaches building a Unix-like kernel from scratch in C and assembly, covering bootloader, memory management, filesystems, and multitasking.
A guide to writing ARM64 assembly code that is portable across Apple's Darwin and Linux/BSD systems, covering differences in ABI, symbol naming, and vector mnemonics.
The article introduces Linux restartable sequences (rseq), a kernel feature that enables thread-safe data structures without locks or atomics, achieving dramatic performance improvements on many-core CPUs. It provides a tutorial and demonstrates up to 43x speedup on a 96-core AMD Threadripper.
A technical blog post exploring how to use SBCL as a breadboard for assembly code, focusing on stack-based virtual machine techniques such as rotating stacks and efficient primop dispatch, with references to the F18 processor and x87 stack.
VirtualPC is an open-source 8-bit computer simulator that can train small neural networks from assembly code, demonstrating machine learning at the bare-metal level.
The article explores the origin and meaning of the phrase 'Halt and Catch Fire' in computing, tracing it from a joke mnemonic to actual CPU behavior in the Motorola 6800 and IBM System/360.
A developer rebuilt their entire Linux desktop stack—from shell to terminal, window manager, and utilities—in pure x86_64 Assembly using Claude Code, achieving microsecond startup times and hours of extra battery life.
Raymond Chen explores why x86 compilers universally prefer "xor eax,eax" over "sub eax,eax" to zero a register, attributing it to historical momentum and slightly safer flag behavior rather than technical superiority.