Engineering notes from 9io.
How we build products, AI systems and trading infrastructure — and what we learn on the way. Written by the people who do the work, with the sources linked.
Running an emulator in the browser: three games in 108 KB gzipped
How we run an emulator in the browser with WebAssembly. The emulator, player and three games come to 108 KB gzipped, and each game gets a fresh instance.
6 November 2026 · 15 min read Web performanceA party web game without a framework: plain HTML, SVG and Web Audio
Chakri is a Diwali party web game without a framework or build step. These notes cover its fair spin, SVG art, Web Audio, share cards and caching.
29 October 2026 · 16 min read AI engineeringHow we cut an AI assistant’s time to first word to 3 seconds
An in-app AI assistant took 20 to 30 seconds to start answering. Putting its context in the prompt and forcing fewer tool calls got it to about 3 seconds.
29 September 2026 · 10 min read Web performanceCaching server-rendered Next.js HTML at the edge, by device type
We cached a Next.js storefront’s HTML on Cloudflare, split by device type. Cached pages come back in about 70 ms; mobile PageSpeed rose from 65 to 87.
8 September 2026 · 16 min read