Back to News
Advertisement
iimtomt about 5 hours ago 4 commentsRead Article on github.com

DE version is available. Content is displayed in original English for accuracy.

This is ymawky, a now-dynamic web server written entirely in ARM64 Assembly. I've previously posted about ymawky here: https://news.ycombinator.com/item?id=48080587

In the past month and a half, I've made some pretty major improvements: I've added CGI scripting support, so the server now supports query strings and dynamic content; and I've fully ported ymawky to run on Linux, rather than macOS-only.

In addition to GET/PUT/HEAD/DELETE/OPTIONS requests, because of CGI support ymawky also accepts POST requests (only to CGI resources for now).

I've also updated the more detailed writeup to reflect CGI support and the Linux port: https://imtomt.github.io/ymawky/

Advertisement

⚡ Community Insights

Discussion Sentiment

75% Positive

Analyzed from 80 words in the discussion.

Trending Topics

#isn#thing#assembly#ahh#little#gem#ported#linux#great#opens

Discussion (4 Comments)Read Original on HackerNews

kunley•16 minutes ago
Ahh, this little gem ported to Linux, great! That opens much more possibilities to play with it, thanks
tosti•about 2 hours ago
This isn't a bad thing per se. I imagine this could be a thing for an embedded side project or a tiny rescue system.

Edit: or learning arm64 assembly :)

wewewedxfgdf•about 1 hour ago
You wrote this by hand? Impressive.
benj111•about 1 hour ago
Cool. I particularly like the O'Reilly book cover that never was. Although I fear you may have misunderstood what wasm is...

Question/critique. Isn't getting the mime type by file extension a bit windowsy? Would it not be easier to read the magic number when you're at the assembly level?