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?
Show HN: A pure ARM64 Assembly web server, now on Linux with CGI for no reason
21–27 of 27 posts
Re: Show HN: A pure ARM64 Assembly web server, now on Linux with CGI for no reason
#22> written entirely by-hand in ARM64 assembly as a fun project. It's probably got a lot of vulnerabilities I'm unaware of Impressive, but that second part worries me. I hope one day AI security scans upon commit (or integrated in the IDE) will alleviate that risk. What's the current security gold standard for web servers? Hiawatha? https://hiawatha.leisink.net/
Re: Show HN: A pure ARM64 Assembly web server, now on Linux with CGI for no reason
#23"raw syscalls only: no libc wrappers" insane! i wonder how many times you have spent to learn about them!
Re: Show HN: A pure ARM64 Assembly web server, now on Linux with CGI for no reason
#24arm64 is an IP-locked ISA, namely it is not worth assembly writting, stick to plain and simple C. RISC-V is. I am self-hosting many of my internet thingies. I plan to move to RISC-V only hardware and to rewrite my internet software directly in mono-threaded paranoid RISC-V assembly.
Good luck with your RISC-V asm stuff! Hit me up if you publish any of it :)
Re: Show HN: A pure ARM64 Assembly web server, now on Linux with CGI for no reason
#25Earlier quoted context omitted.
> arm64 is an IP-locked ISA, namely it is not worth assembly writting Why is that a problem? Google search returns 3K page arm64 ISA manual. What else do you need to write asm?
Nothing else, I think what the're more concerned with is how open an architecture is. I think with RISC-V if you wanted to design your own chips and stuff you can just do it, whereas ARM doesn't let you do that. I'm not about to build my own chips so it doesn't matter all that much to me but I understand where the person is coming from. They'd rather write assembly for the more open architecture.
Re: Show HN: A pure ARM64 Assembly web server, now on Linux with CGI for no reason
#26arm64 is an IP-locked ISA, namely it is not worth assembly writting, stick to plain and simple C. RISC-V is. I am self-hosting many of my internet thingies. I plan to move to RISC-V only hardware and to rewrite my internet software directly in mono-threaded paranoid RISC-V assembly.
For sure. My laptop has an arm64 chip, which is why this is written in arm64. If I had an intel chip, it would be written in x86_64. RISC-V is very interesting, though, and I'd love to learn more at some point. Good luck with your RISC-V asm stuff! Hit me up if you publish any of it :)
I am currently attempting to define some binary specifications for a wayland compositor on linux, and to do that I write RISC-V assembly which I run on x86_64 thx to a very small interpreter. So the "cleanup" will happen "after" I get my own real-life wayland compositor (I am currently finishing the memory layout for keyboard and mouse support if you were curious about it).
Letting people know here is seriously compromised: HN started to aggressively block web browsers which are not based on one of the 'whatwg cartel' web engines, or their security provider is in love with gogol, dunno, could be my internet lines actively filtered too :) noscript/basic HTML is the only way for web freedom.
Re: Show HN: A pure ARM64 Assembly web server, now on Linux with CGI for no reason
#27Is an assembly webserver more performant than webservers written in other languages? Are there any hard limits on how much you can squeeze when using a particular framework?