Loading...
Loading...
&#32; submitted by &#32; <a href="https://www.reddit.com/user/kavantoine"> /u/kavantoine </a> <br/> <span><a href="https://imtomt.github.io/ymawky/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/programming/comments/1t6t13k/building_a_web_server_in_raw_arm64_assembly/">[comments]</a></span> @Jiaxi_Cui: 如果不是 AI ,我都不知道 nginx 已经是过去式了,可以全部改为 Caddy https://t.co/YJUhki7Jrk
A working ARM64 web server in raw assembly highlights low-level performance, portability, and syscall interfaces on Apple Silicon, informing server implementers and systems programmers about trade-offs without libc. It surfaces practical details for optimization, security considerations, and tooling gaps when targeting aarch64 in production or experimental stacks.
Dossier last updated: 2026-05-10 05:10:18
A developer published ymawky, a minimalist web server written entirely in ARM64 assembly for Apple Silicon macOS. It is a syscall-only, no-libc, fork-per-connection static-file server supporting GET, PUT, DELETE, OPTIONS and HEAD, URL percent-decoding, smart path-traversal prevention, MIME type detection, byte-range requests, atomic PUT uploads (via temporary file + rename), and basic protections against slowloris-like attacks. It requires Xcode command line tools, runs on 127.0.0.1 by default, and includes directory listings and custom error pages. The project is mostly educational and portable with tweaks for other Unixes; it aims to demonstrate low-level systems programming, tight control over I/O, and performance/security trade-offs when implementing HTTP in assembly.
building a web server in aarch64 assembly to give my life (a lack of) meaning
&#32; submitted by &#32; <a href="https://www.reddit.com/user/kavantoine"> /u/kavantoine </a> <br/> <span><a href="https://imtomt.github.io/ymawky/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/programming/comments/1t6t13k/building_a_web_server_in_raw_arm64_assembly/">[comments]</a></span>
@Jiaxi_Cui: 如果不是 AI ,我都不知道 nginx 已经是过去式了,可以全部改为 Caddy https://t.co/YJUhki7Jrk