Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is realy cool!

I wonder if Justine's Redbean[0] webserver, which got recently posted on HN[1], would support ARM in such use case. Its executable size is 460KB, it even allows Lua scripting, and benchmarks 1 million pages per second on desktop PC.

[0] https://justine.lol/redbean/index.html [1] https://news.ycombinator.com/item?id=26271117



gatling [0] is also pretty small and fast, it also can do FTP and SMB if you need that.

[0] https://www.fefe.de/gatling/



Possibly not. I believe that runs natively on (any!) x86 system, but it uses QEMU to run on ARM, which might make things a big too big here.


While you'll probably run out of memory first, there's the enormous overhead of running qemu's translation, too. Using QEMU to emulate x86 on my POWER9 system, I get... roughly the performance of a 2001-2004 pentium processor, and the host cpu is running at 3.8GHz and comparable speed wise to a 2018ish intel processor.

In spite of the author's insistence, I don't think Cosmopolitan is really usable on anything but x86, the QEMU thing is more a cute proof-of-concept. For very simple programs I guess...


You are right. Indeed it falls back to QEMU on non-x86_64 https://github.com/jart/cosmopolitan/issues/73#issuecomment-...

Running QEMU on a modem would be another hack for a day :)


Don't give me any ideas...


Don't forget webfs. It's just 196K installed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: