Building a TIR Compiler: From Patent to Prototype
A rule graph, one intermediate representation, and three backends. What was easy, what leaked, and which abstraction I would not build again.
Large models, agents and tooling, retrieval, fine-tuning and multimodal systems. Mostly the engineering half: what actually runs, and at what cost.
A rule graph, one intermediate representation, and three backends. What was easy, what leaked, and which abstraction I would not build again.
Notes from a second reading: what the attention mechanism actually computes, and which part of it transfers to a market with no sequence in the usual sense.
What changes when an agent has to call into a system with an audit log, a permission model and a rate limit, instead of a demo endpoint.
Live measurement of where the power goes on the E1 board, and the runtime changes that turned a throttling run into a flat one.
Fine-tune where the ecosystem is, serve where the process already runs, and put a diff between the two so they cannot silently drift.
A desktop workbench that puts a research capture, the derived descriptors and an agent that can query them in one window.
An 18 W budget, a thermal wall at ninety seconds, and the runtime changes that turned a throttling board into a steady one.
A filed disclosure on recognising handwritten mathematical formula trajectories through dual-model collaboration and local adaptive learning, arising from an AI maths-tutoring platform.
Lowering the same rule graph to a spreadsheet add-in, a service and an FPGA pipeline, and the four disagreements the conformance suite found.
The disclosure behind the TIR compiler, including the width and latency negotiation that the first implementation got wrong.