Website is served from a 200KB binary
A web server written as a 200KB native binary with no runtime dependencies serves 20,000 requests with a flat memory footprint, demonstrating the efficiency of an AOT systems language that compiles directly to x86-64. The project revealed multiple critical bugs in a garbage collector and HTTP stack that had gone undetected in CI testing because the default heap size prevented garbage collection from ever running, but rewriting the collector and fixing various compilation and system call issues resolved these problems.
Read Full Article →