Lurker News
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/

Comments (227) 57 threads

Show all comments

Showing thread 10 of 57

ybouane2 replies#
We are moving to AI and stopped writing code / scratching our heads, and you're here writing a web server in assembly.

Humbling.

dwedge#
Yeah, humbling - I know which path I prefer
bigstrat2003#
Who's "we"? I have too much self-respect to turn in crappy clanker-generated code rather than doing a good job myself.