logoalt Hacker News

Building a web server in aarch64 assembly to give my life (a lack of) meaning

70 pointsby theanonymousonelast Friday at 1:39 PM24 commentsview on HN

Comments

drob518today at 6:43 PM

I’m curious what the performance of this implementation is versus a server written in C, C++, or Rust. How much performance can a human still squeeze out at the assembly level versus today’s state of the art compilers?

show 1 reply
globnomuloustoday at 6:21 PM

I love this. I'm wondering: what skills did this project hone? What are you better at now than you were before you undertook it? Or was it just for fun?

thisislife2today at 2:45 PM

This is an interesting project - kudos for executing it. I have to admit that when I was starting out in this field, I too fantasised about, "Would this software be faster, smaller and better in assembly?". Ofcourse, assembly programming made some sense in embedded electronics, which can be very resource constrained and even specialised for one particular application. Thinking from that aspect, perhaps you should consider making this a specialised program that runs on something like a Raspberry Pi - running such a web server directly on it, without an OS (or a very minimal OS), would make for a real cool and interesting project.

show 2 replies
StilesCrisistoday at 5:54 PM

"i hate string parsing. especially in assembly."

Well. Interesting choice of side project!

pixelesquetoday at 3:08 PM

Previous comments from two days ago:

https://news.ycombinator.com/item?id=48080587

show 2 replies
peterpanheadtoday at 4:28 PM

Fun project.

imvetritoday at 5:42 PM

How to do assembly only to build a web server for the hardware? I mean it may sound like building os from scratch.

Serhii-Settoday at 6:27 PM

[dead]

DeathArrowtoday at 5:32 PM

Meanwhile another 10000 developers published desktop apps, mobile apps and system software written in javascript. /s