x86-64 assembly. Zero dependencies. Sub-millisecond responses. Every byte is intentional.
Raw TCP sockets via Linux syscalls. No libc. Poll-based multiplexing with fork-per-connection for isolation. TLS 1.3 handshake in assembly.
| Component | Spec |
|---|---|
| TCP server | poll() + fork-per-conn |
| TLS | 1.3, X25519 + AES-GCM-256 |
| HTTP | 1.1 + 2 (HPACK, Huffman) |
| DNS | Built-in resolver |
| Proxy | SNI-routing, 8 cert slots |
Request parsing, response building, routing, sessions, cookies, query strings, multipart forms. Template engine with loops, conditionals, and auto-escaping.
| Feature | Implementation |
|---|---|
| Router | Prefix-match, O(n) scan |
| Templates | Vars, loops, escaping, i18n |
| Sessions | 256-bit IDs, cookie-based |
| Auth | PBKDF2-SHA256, 100k rounds |
| Static files | ETag, gzip, range requests |
Every algorithm from scratch. No OpenSSL. No libsodium. Constant-time operations throughout.
| Primitive | Standard |
|---|---|
| Hash | SHA-256, SHA-512 |
| MAC | HMAC, Poly1305 |
| AEAD | AES-GCM, ChaCha20-Poly1305 |
| Key exchange | X25519, P-256 |
| Signatures | Ed25519 |
| KDF | HKDF, PBKDF2 |
Every client runs in its own process. One crashing can't take down another. 11 systemd units on a single VPS.