Hacker News

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

Create a Rust HTTP Server – Linux Hint

ymawky — web server in ARM assembly This is ymawky (yuh maw kee), a web server written entirely in ARM64 assembly. ymawky is a syscall-only, no libc, fork-per-connection web server written by hand. While it is developed for MacOS, I’ve tried to make it as portable as possible — however, it’s likely you will still need to make some (hopefully minor) Significant tweaks to get this to run on Linux/other Unix systems. See Implementation Notes for more details. Building Requires Xcode Command Line Tools. Install with xcode-select –install. ymawky only runs on apple silicon (arm64). Run make to build. Ensure there is a www/ directory next to the ymawky executable. That’s the document root where ymawky searches for files. GET with an empty filename (GET /) will search for www/index.html, so…

Continue reading at Hacker News github.com
Advertisement