Building a web server in assembly to give my life (a lack of) meaning
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
This is ymawky, a static file web server for MacOS written entirely in ARM64 assembly. It supports GET, PUT, DELETE, HEAD, and OPTIONS requests, and supports Range: bytes=X-Y headers (which allows scrubbing for video streaming). It decodes percent-encoded URLs, strictly enforces docroot, serves custom error pages for any HTTP error response, supports directory listing, and has (some) mitigations against slowloris-like attacks.I’ve also written a more detailed writeup here: https://imtomt.github.io/ymawky/
HN · launched May 10, 2026 · 430 upvotes (top 1%) · 0 views
Niche: web server software · 19 launches, 2 in the last 7 days · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 19 launches in web server software →
Could you build this?
No Writing a complete HTTP web server from scratch in raw ARM64 assembly requires deep knowledge of low-level CPU architecture, Darwin kernel syscalls, register management, and manual memory handling that AI assistants frequently hallucinate.
What it would actually take: A real version requires implementing socket networking (socket, bind, listen, accept, setsockopt) directly via macOS ARM64 BSD syscalls, manually parsing HTTP/1.1 headers and byte ranges in registers/buffers, and strictly enforcing file path security without standard libraries. The hard parts are handling asynchronous I/O (kqueue) purely in assembly, managing memory boundaries safely, and debugging low-level ABI calling conventions. It requires an experienced systems engineer proficient in ARM64 instruction set architecture and POSIX/XNU kernel internals.
Discussion
20 comments analyzed.
Competitors mentioned: MartyPC
Concerns raised: Assembly string parsing is extremely difficult and error-prone, Range header handling in assembly is a nightmare, Project only runs on ARM64, not Linux VPS or broad audience, Assembly development is inefficient compared to higher-level languages
Feature requests: Support for Linux/broader platform compatibility
Competitors
Other products that read as similar to this one : 39 launches clear the similarity bar, closest 8 shown.
Attention rank: #1 of 40 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 192 days after the earliest competitor.
- A pure ARM64 Assembly web server, now on Linux with CGI for no reason · hn · 2026-06-23 · 51 upvotes · similarity 0.71
- Deadwire-HTTPD A triple-threaded x86-64 assembly static server · hn · 2026-07-17 · 5 upvotes · similarity 0.39
- html-disasm · github · 2026-10-14 · 47 upvotes · similarity 0.36
- Socket to Me, a static file server that runs in the browser · hn · 2026-06-22 · 14 upvotes · similarity 0.36
- Codex CLI compiled to WASM running in the browser · hn · 2026-08-19 · 5 upvotes · similarity 0.35
- MockMini · ph · 2026-10-25 · 2 upvotes · similarity 0.35
- InstantMock API CLI Pro · ph · 2026-11-07 · 1 upvotes · similarity 0.34
- Cj–tiny no-deps JIT in C for x86-64 and ARM64 · hn · 2025-11-05 · 21 upvotes · similarity 0.34
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.