Topic

Low-Level Programming

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

What this topic tracks

  • Engineering practices and ecosystem debates
  • Tools, architecture, and implementation lessons
  • Relevant discussions from developer communities

Low-Level Programming · 429 stories

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.

20 stories

Book list for streetfighting computer scientists

nick-black.com · 15 Nov

Low-Level Programming · Education · Computer Science

The 2025 “Book list for streetfighting computer scientists” recommends a rigorous, systems-oriented curriculum rather than popular programming advice.

It starts with C, C++, Rust, generic programming, and interfaces, then covers algorithms, programming discipline, UNIX, networking, operating systems, architecture, compilers, parallelism, theory, mathematics, and data structures, with advanced selections on complexity, types, functional programming, and lambda calculus. It emphasizes foundational math, omits machine learning, quantum, SIMT/accelerator, and infosec books, and notes gaps in modern XDP/Io_uring networking coverage.

MacOS Extensions Pack for the Apple Network Server v1.0

oldvcr.blogspot.com · 25 Oct

Hardware · Low-Level Programming · Operating Systems

An extensions pack makes Mac OS usable on the Apple Network Server with the 1.1.20.1 preproduction ROM while preserving AIX booting.

It provides three components: ANS MACE Fixer restores Ethernet configuration, ANS Video Enabler adds 8-bit onboard video support, and ANS Startup Fixer repairs NVRAM settings so reboots return to Mac OS. Installation uses an external SCSI volume, typically BlueSCSI. Internal SCSI bays remain unsupported, and the video driver lacks acceleration and higher colour depths.

Running Doom on Our Custom CPU and Going Viral

armaangomes.com · 20 Jul

Hardware · Low-Level Programming · Performance

Engineers successfully ported the classic video game DOOM to a custom-built, logic-gate-level CPU deployed on an FPGA.

By integrating DDR3 memory, implementing custom instruction and data caches, and optimizing both hardware and software, they achieved a playable 15-20 FPS, demonstrating deep technical mastery of CPU architecture, memory management, and low-level debugging.

Win16 Memory Management

os2museum.com · 5 Jun

Low-Level Programming · Operating Systems · Computer Science

16-bit Windows utilized a complex, segment-based memory management system, effectively acting as an overlay manager due to limited 8086 hardware capabilities.

Developers had to use specific function prologs, segment handles, and locking mechanisms to manage memory manually. Despite these sophisticated techniques, the lack of hardware protection often made debugging memory management errors difficult, necessitating specialized stress-testing tools.

Windows NT/OS2 Design Workbook

computernewb.com · 10 Feb

Low-Level Programming · Operating Systems · Computer Science

A comprehensive collection of design documents and specifications for the Windows NT operating system.

It features detailed technical papers on kernel architecture, memory management, I/O systems, and internal mechanisms like IRP, APC, and LPC. These documents provide historical and technical insight into the foundational structures of the Windows executive and system services.

So, I rewrote my game in C3

madrigalgames.com · 28 Nov

Low-Level Programming · Programming Languages

Madrigal Games rewrote Traction Point’s game code from Zig to C3 to improve hot-reload iteration on Windows.

The roughly 100k-line Zig debug build took 24 seconds, and incremental rebuilds over 15 seconds; C3 builds the full game in about 3 seconds. C3 preserves compatible memory and WASM characteristics, enabling a near-mechanical port and future modding. The developer also created SL3, a C3 subset that runs as bytecode or native DLLs for rapid particle-effect iteration while retaining runtime performance.

Full Reverse Engineering of the TI-84 Plus Operating System

siraben.github.io · 8 Jun

Low-Level Programming · Programming Languages · Computer Science

This project provides a comprehensive reverse-engineering analysis of the TI-84 Plus OS.

Utilizing Ghidra, the documentation covers the Z80 architecture, memory paging, system calls, the VAT, and the floating-point engine. It details how the single-tasking OS handles TI-BASIC, graphing, and hardware I/O through extensive subsystem analysis.

OpenBSD 8.0 release will have inteldrm/radeondrm/amdgpu drivers from Linux 6.18

bsd.network · 19 Oct

Low-Level Programming · Operating Systems

OpenBSD 8.0 brings major platform and hardware updates, including graphics drivers based on Linux 6.18, Intel Arc support, and a 512G amd64 KVA enabling mapping over 4G of VRAM.

Clang/LLVM 22 becomes the base compiler across all architectures, including sparc64. vmm/vmd supports up to 64 VCPUs per VM, while new drivers add Qualcomm WCN7850 WiFi and Samsung Galaxy Book4 Edge battery monitoring. Swap encryption is accelerated, and httpd gains response-header and filtering rules.

Clamiga: Common Lisp for the Amiga

nnamgreb.de · 17 Aug

Low-Level Programming · Performance · Programming Languages

Clamiga is a portable Common Lisp implementation targeting classic AmigaOS 3 on 68k, MorphOS on native PPC, macOS, and Linux.

Its compact bytecode VM, 32-bit values, compacting GC, native AmigaOS bindings, Quicklisp compatibility, and 68k JIT enable full Lisp development on memory-constrained hardware. The project is stable but continues toward ANSI compliance and broader API support.

Quadrupling code performance with a "useless" if

purplesyringa.moe · 12 Jul

Algorithms · Low-Level Programming · Performance

Optimizing a domain-specific compressor loop involves resolving a data dependency bottleneck.

By leveraging branch prediction to speculate that the state remains unchanged, the algorithm shifts from latency-bound to throughput-bound. Using a volatile cast preserves the branch logic, effectively bypassing compiler optimizations to enhance execution speed through speculative hardware execution.

The little-known winstart.bat batch file

devblogs.microsoft.com · 15 Aug

Low-Level Programming · Windows · Operating Systems

In Windows 3.1 and Windows 95, winstart.bat ran inside the System VM after the virtual machine manager took control from MS-DOS.

Its main use was installing TSRs—such as Windows-only network drivers—available to Windows programs but not separate MS-DOS virtual machines, preserving conventional memory or avoiding incompatibilities. This distinguished it from autoexec.bat and per-VM installations.

A graphical desktop for the ZX Spectrum

github.com · 19 Sept

Low-Level Programming · Performance · Operating Systems

ZX Desk is an MIT-licensed graphical desktop for the 48K ZX Spectrum, written in Z80 assembly and running on real hardware.

It provides windows, menus, events, storage backends, applications, and persistence within severe memory and timing limits. Extensive measurements enabled interrupt-safe fills, optimized rendering, and 50 Hz dragging, while documenting architecture, bugs, validation, and future ZX Spectrum Next work.

Cores in space: The core memory module from a 1980 Spacelab computer

righto.com · 30 Aug

Hardware · Low-Level Programming · Computer Science

The article examines the Spacelab Mitra 125 MS computer’s 128 KB magnetic core memory, explaining coincident-current addressing, destructive readout, diode matrices, sense amplifiers, noise reduction, phase reversal, and 2½D architecture.

Built in 1980, this radiation-resistant, nonvolatile system represented advanced core-memory engineering before semiconductor memory replaced it in Shuttle computers.

Os8088.com: IBM XT OS now has a Browser, CP/M 2.2 with Z80 core and MS Word 1.1a

os8088.com · 19 Aug

Hardware · Low-Level Programming · Operating Systems

August 2026 additions to os8088 demonstrate a web browser fetching real pages, CP/M running through Z80 emulation, C-based software development, Microsoft Word 1.1a compatibility, dual-monitor desktops, and Infocom games via a Z-machine interpreter—all on a 4.77 MHz 8088, highlighting substantial capability within severe memory and performance constraints.

Zigzag Decoding with AVX-512

zeux.io · 17 Jun

Low-Level Programming · Performance · Computer Science

This article explores optimizing zigzag decoding using AVX-512 and GFNI instructions on AMD Zen 4 architecture.

The author evaluates replacing standard branchless SIMD approaches with AVX-512 predication masks and GF(2) affine transformations via GFNI, illustrating how these techniques can reduce instruction counts and improve throughput, provided they are not limited by memory latency or specific compiler optimizations.

WinCE64 – Windows CE 2.11 for N64

github.com · 9 May

C · C++ · Low-Level Programming

This project implements a custom port of Windows CE 2.11 for the Nintendo 64.

By creating a custom HAL, display driver, and SD file system, the system runs on actual hardware using an EverDrive-64 X7. It enables a functional Win9x-style desktop, taskbar, file browser, and support for running third-party MIPS executables directly from an SD card.

µ-Wire – USB on an ATtiny 10

cpldcpu.com · 18 Nov

C · Hardware · Low-Level Programming

The µ-Wire project turns Atmel’s six-pin ATtiny10 into a USB-compatible controller for one WS2812 LED while preserving little-wire protocol compatibility.

Because its 1KB flash and 32B SRAM cannot fit standard V-USB, the firmware uses an interrupt-free, heavily reduced implementation that skips a USB packet during LED output and relies on retransmission. Manual register-access assembly compensates for AVR-GCC inefficiency. The firmware uses 988B flash and 30B SRAM, with limited USB reset and request support.

SIMD for Collision

box2d.org · 22 Jul

Algorithms · Low-Level Programming · Performance

Box3D enhances collision detection performance for complex 3D convex hulls by utilizing "wide SIMD" to process multiple edge tests simultaneously.

While standard SAT is quadratically complex, this approach significantly accelerates simulations involving high-edge-count shapes. Benchmarks show SSE2 and AVX2-Lite implementations offer dramatic speedups over scalar execution, proving highly effective for complex geometries.

Where it came fromHacker NewsLobstersCreate a Snapbyte.dev digest and choose Low-Level Programming as one of your topics.Build your digest