Show HN: Building a web server in assembly to give my life (a lack of) meaning

A lone coder built a website server the hard way—and the comments are obsessed

TLDR: A developer built a fully working web server by hand in one of the hardest programming styles possible, mostly to learn how the web really works. The community loved the chaos: some praised the old-school craftsmanship, others begged for readable docs, and everyone enjoyed the joke-filled vibe.

A developer rolled into Hacker News with a gloriously unhinged flex: a tiny web server for Apple computers written entirely by hand in assembly, the ultra-low-level language most people would run from screaming. No helper libraries, no safety nets, no shortcuts—just pure stubbornness and a little existential branding in the title. The project, ymawky, can serve files, list folders, handle uploads, and do a bunch of normal web-server jobs… except it does them in what the creator openly admits is basically the most difficult way possible.

And honestly? The comments were less “why would you do this?” and more “I can’t believe you actually did this, you absolute legend.” One camp was full-on nostalgic, with older low-level programmers getting emotional over someone still “doing this by hand.” Another camp immediately turned into the practical friend at the party: cool project, now where are the docs? One commenter politely begged for architecture notes—or even AI-generated documentation—because they wanted to study the code instead of just gawking at it.

The funniest reaction may have been the one with almost no technical content at all: people were weirdly delighted by the fake O’Reilly book cover, calling it “pure gold.” Even the tiny thread drama had charm: the first comment had to clarify that the post linked to the write-up instead of the repo, a classic Hacker News “sir, your link is wrong” moment. So yes, the software is real—but the real show is the crowd treating this like a mix of museum piece, flex, and midlife-crisis art project.

Key Points

  • The article presents ymawky as a small static HTTP server written entirely in AArch64 assembly for macOS using raw Darwin syscalls and no libc wrappers.
  • The project’s stated constraints include AArch64 assembly only, macOS/Darwin only, static files only, no external libraries, and no preexisting parsers.
  • The server supports static file serving, GET, HEAD, PUT, OPTIONS, DELETE, byte ranges, directory listing, and custom error pages.
  • The writeup explains low-level assembly programming concepts such as direct register manipulation, manual memory handling, and explicit error checking via CPU flags.
  • The article outlines the server lifecycle using socket, setsockopt, bind, listen, accept, and a fork-on-request model for handling connections.

Hottest takes

"it'd also be nice to include docs—even AI-generated docs" — thatxliner
"That fake O'Reilly book cover is pure gold" — chrisweekly
"I'm not the only one!" — trollbridge
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.