Hacker News

Website is served from a 200KB binary

Comments

This page was served from a native binary. No libc. No VM. No runtime. The numbers below are read out of the process that is answering you right now - not written into a template by hand.

| binary | 190207 bytes |
| linked libraries | none |
| this worker (pid) | 160257 |
| heap high-water | 67108608 bytes |
| uptime | 6248s |

Reload it. The pid changes: there are several worker processes, and the kernel hands the connection to whichever one is free.

"High-water" is the honest word: the collector is non-moving, so it recycles memory below that frontier through a free list rather than handing it back. The number stops climbing - it does not fall. This server has served 20,000 requests with a flat footprint; before the collector was rewritten it died at 828.

What it is

An AOT systems language that lowers straight to x86-64. World failures are data you match on; broken invariants kill the program on the spot. There is no hidden recovery path, because there is no recovery path.

Comments

No comments yet. Start the discussion.