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

Marginalia Search, Money, C++, Rust, AI, Stuff

marginalia.nu · 25 Nov

C++ · Low-Level Programming

Marginalia Search reports a stable project phase focused on bug fixes, technical debt, and optimization rather than major new features.

SerpApi provided $10,000, while donations and API-key sales are rising, though the operation is not yet self-sustaining and free-key requests can take weeks to process. The developer is experimentally migrating the index from Java to C++ to address CPU bottlenecks and improve low-level ergonomics, but expects uncertain gains and a slow process. AI is avoided because maintaining generated code would undermine independence and understanding.

A New Way to Think About Borrow Checking (In Reverse)

verdagon.dev · 18 Oct

Algorithms · Low-Level Programming · Programming Languages · Computer Science

Valen introduces an experimental borrow checker whose safety-checking phase walks functions backward, unlike Rust’s forward conflict checks.

After static typing and static grouping identify each reference’s variable or path, the reverse pass tracks pending future uses: MUTATE must not invalidate them, and DECLARE satisfies them. Loop handling records mutations and revived references. The approach simplifies last-use tracking, handles loops naturally, and may be faster, though benchmarking and support for control-flow interruptions, closures, and other features remain incomplete.

Rust SIMD on the GPU

vectorware.com · 10 Aug

Artificial Intelligence · Low-Level Programming · Rust

VectorWare has successfully enabled Rust's portable SIMD, core::simd, on GPUs.

By mapping warp-level lanes to SIMD vectors, developers can now write high-performance code that compiles to both CPU and GPU without modification. This milestone allows Rust's type system to manage GPU parallelism natively, bridging the performance gap between hardware-specific intrinsics and portable abstractions.

My DIY FPGA board can run Quake II

blog.mikhe.ch · 22 Mar

Hardware · Low-Level Programming · Programming Languages

The author documents the development of a DIY FPGA-based computer, focusing on the fourth iteration of their board.

The project utilizes the Efinix Ti60F256 FPGA and 1GB DDR3L memory, featuring a complex six-layer PCB and BGA soldering techniques. The design integrates a RISC-V SoC created with SpinalHDL, achieving competitive performance benchmarks while successfully running software like Quake II and Doom.

openai/mcpfs

github.com · 5 Dec

Backend · CLI · Linux · Low-Level Programming · Rust

mcpfs exposes one or more trusted MCP servers as a read-only filesystem, mountable through Linux FUSE or served to a Linux guest via vhost-user virtio-fs.

It maps resources and MCP Skills files to ordinary paths, generates executable Bash scripts for tools, and provides local catalog search, metadata xattrs, JSON or named-argument invocation, caching, and URI-safe naming. Built in Rust, it includes FUSE, virtio-fs, and guest-helper binaries, but is explicitly a developer demo rather than production software.

VirtualBox Process Hardening on Windows 2026 Edition: What’s a Single Bit Between Friends?

projectzero.google · 23 Nov

Authorization · Cybersecurity · Low-Level Programming · Windows

2026 research found CVE-2026-87268, a VirtualBox process-hardening bypass exploiting .

NET Framework v4’s fallback from image mapping to data-only mapping after STATUS_INVALID_IMAGE_FORMAT. An AnyCPU x86 managed assembly, loaded through COM hijacking, could execute arbitrary code in protected VirtualBox processes. The same behavior bypassed WDAC/UMCI when one COFF header bit was cleared, including on Windows 11 S Mode. VirtualBox fixed its status handling; Microsoft fixed the WLDP check under CVE-2026-108398, although PPL bypasses remain possible.

A 386 PC for Your RP2350

github.com · 14 Sept

Hardware · Low-Level Programming · Operating Systems

frank-386 is an open-source i386 PC Emulator firmware for RP2350 boards.

It provides VGA/HDMI graphics, up to 8MB RAM, SD-card disk images, multiple sound devices, PS/2 or USB HID input, and NES gamepad mouse emulation. It boots DOS, Windows 3.x/95, Linux, and more, with runtime disk management and configurable builds for several boards.

The newest ESP32 can run Linux and it's getting close to a Raspberry Pi

xda-developers.com · 23 Sept

Hardware · Low-Level Programming · Operating Systems

Espressif’s ESP32-S31 combines microcontroller power efficiency with SBC-like capabilities: gigabit Ethernet, USB 2.0 High-Speed host, dual SD slots, camera and display interfaces, extensive wireless connectivity, and RISC-V cores supporting Sv32 virtual memory and Linux.

However, limited PSRAM, no DRAM controller or GPU, preliminary documentation, and immature Linux support constrain its role as an SBC replacement.

Tips for more effective fuzz testing with AFL++

nullprogram.com · 28 Oct

Cybersecurity · C · Low-Level Programming · Testing

AFL++ fuzz testing on glibc-based Linux can uncover defects in C and C++ programs more effectively with several practical techniques: enable ASan, UBSan, assertions, and stronger allocation checks; prefer persistent mode; include source files to reach internal functions; isolate test iterations; copy inputs instead of using AFL++’s buffer directly; avoid unnecessary cleanup; use memfd_create for named paths; and reduce fixed buffer sizes to expose edge cases sooner.

Getting 50 GB/S Back from the Apple Neural Engine

eiln.github.io · 10 Sept

Hardware · Low-Level Programming · Performance

Reverse engineering found an RTL performance bug in Apple M3 Neural Engine’s KernelDMA speculative prefetch ring: per-core transfers at exact 1 MiB multiples fall from 45–60 GB/s to 17–19 GB/s.

Splitting transfers into smaller chunks restores bandwidth, delivering up to 3.16× higher DRAM throughput and improving Llama 3.2 1B and Qwen3-8B token generation by roughly 2.4×.

Memory Safety Bugs in Rust Standard Library

forge-blog.github.io · 9 Nov

Cybersecurity · Low-Level Programming · Rust

Microsoft FORGE Lab found several memory-safety bugs in Rust’s standard library using Hyenas, an AI-powered scanner.

The issues reveal three recurring trust failures in unsafe code: assuming operations will not panic, user-provided implementations are correct, and operating-system state remains stable. Several bugs let safe Rust trigger undefined behavior, including invalid UTF-8, out-of-bounds access, and crashes. Fixes redesigned APIs, constrained allocators, or corrected system-boundary handling, reinforcing the need for sound unsafe implementations.

nfzerox/iOSOniPodNano

github.com · 28 Nov

iOS · Low-Level Programming · Operating Systems

iOS on iPod nano ports iPhone OS 1 through iOS 10 to the 7th-generation iPod nano, turning its 31-gram hardware into a bootable iOS device.

It adapts the ARM XNU kernel and Apple userlands, supports multi-touch, audio, microphone, accelerometer, USB, storage, and GPU acceleration through OpenGL ES 1.1, with an OpenGL ES 2.0 translation shim for newer releases. A 64 MB memory compressor, custom NAND drivers, and NanoEmu support distinguish the project.

Divide by depth for instant 3D

gabrieloc.com · 15 Sept

Low-Level Programming · Programming Languages · Computer Science

The article demystifies 3D cameras by showing that perspective begins with dividing x and y by depth z.

It connects this idea to the perspective projection matrix, explaining focal scale, aspect ratio, clipping planes, view space, clip space, NDC, and the graphics pipeline. Understanding these transformations enables developers to implement only the camera functionality their projects require.

Wax: A User-Friendly Syntax for WebAssembly

tarides.com · 3 Dec

Low-Level Programming · Programming Languages

Wax is a Rust-like syntax and OCaml toolchain for writing, checking, formatting, compiling, and decompiling WebAssembly while preserving its exact instructions.

Created for the nearly 27,000-line hand-written wasm_of_ocaml runtime, it converts bidirectionally among Wax, WAT, and Wasm, supports GC types, editor integration, source maps, and diagnostics, and can reduce the runtime to about 21,000 lines. Its reverse compilation is validated through instruction-stream round trips and WebAssembly test suites.

SeL4 security proofs now complete on AArch64

proofcraft.systems · 24 Aug

Cybersecurity · Low-Level Programming · Operating Systems

Proofcraft has completed the formal confidentiality proof for seL4 on AArch64, following earlier proofs of functional correctness and integrity.

Supported by NCSC, this milestone shows mathematically that the kernel enforces authorised information access and security isolation, preventing compromises of non-critical applications from spreading to critical applications, under stated assumptions.

Textbook review: Is Parallel Programming Hard, And, If So, What Can You Do About It?

ahelwer.ca · 21 Sept

Low-Level Programming · Performance · Operating Systems

Review of Paul E. McKenney’s free textbook *Is Parallel Programming Hard, And, If So, What Can You Do About It?

* praises its accessible treatment of CPU caches, compiler/CPU reordering, atomics, counters, false sharing, and debugging, especially in the first five chapters. It criticizes excessive PDF links and limited coverage of MESI, C11/C++11 memory ordering, and lock-free data structures, but says it sparked strong interest in concurrency.

Show HN: NFC Energy-Harvesting PCB Business Card with an MCU

wilsonharper.net · 28 Aug

Hardware · Low-Level Programming · Open Source

A battery-free business card uses an NXP NTAG I2C Plus to harvest NFC energy from a smartphone, powering an ATtiny816 MCU and 21 animated LEDs.

The design combines a tuned PCB antenna, Charlieplexing, PWM, startup-current management, and RoHS assembly. The project details KiCad layout, UPDI programming, fabrication lessons, and plans for interactive V2 features.

Linux for the Sega MegaDrive

github.com · 29 Jun

Hardware · Linux · Low-Level Programming

This project enables running Linux on a Sega MegaDrive using a Mega EverDrive cartridge.

It provides tools to build a custom toolchain, U-Boot, a Linux kernel, and an EROFS root filesystem. While currently slow due to EverDrive FIFO limitations, it includes a QEMU emulator for development and supports serial console interaction with a video output terminal.

gmkurtzer/ginux

github.com · 11 Nov

Authorization · Linux · Low-Level Programming · Software Architecture · Operating Systems

Ginux is a configurable userspace kernel that runs as an ordinary Linux process to give isolated workloads explicit, versioned compatibility contracts instead of the host’s full Linux ABI.

It intercepts managed syscalls and emulates, mediates, or denies them, while virtualizing processes, identities, descriptors, devices, resources, and bounded `/proc`/`sys` views. It supports a pinned Rocky Linux 10 systemd baseline, OCI roots, networking, auditing, and x86-64 interpreter/ptrace backends. The project targets reviewable containment, including AI agents, but remains research software, not production or complete Linux compatibility.

ActionRetro/nugget-linux

github.com · 6 Dec

C · Linux · Low-Level Programming · Operating Systems

Nugget Linux ports mainline Linux to a stock Macintosh Plus with a 7.83 MHz 68000, no MMU, 4 MB RAM, and 800K floppies.

It provides a BusyBox shell, optional Ethernet or SLIP networking, and the two-disk NADS desktop built on Nano-X, with Mac HFS support and lightweight applications. The repository includes Mac-specific kernel drivers, boot and disk tools, userland, desktop, and Docker-based cross-compilation, producing floppy images for real hardware or MAME.

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