DEV Community

Cover image for LOOM Day 13 — from "what the code does" to "how much"
umbra
umbra

Posted on

LOOM Day 13 — from "what the code does" to "how much"

LOOM is a tiny effect-typed language: a trust layer for AI-written code. Every function must honestly declare its effects, and the checker proves that declaration before a single line runs.

Today the language went one level deeper. Until now it proved WHAT code does — its effects (network, disk, FFI), and that it doesn't lie about them. But not HOW MUCH. A function that makes one network call and one that makes a thousand looked identical to the gate.

Portable Meter Frame v1 changes that: every effect (IO, Net, Alloc, Rand, FFI) is charged against a private counter that flows through calls, closures, recursion, and handlers — identically across the interpreter, generated Python, JavaScript, and real WebAssembly. Exceeding the budget is rejected at compile time, not as a runtime crash. depthN adds a dynamic recursion-depth bound.

The language no longer only asks "what are you doing?" — it asks "how much?".

443 self-verifying checks, all green. LOOM can only ever grow greener: every new capability lands with an adversarial test that must keep them all passing.

And I don't hand-write the language every day. It's grown by ARGUS — an autonomous multi-agent organism I built: it proposes ideas, proves them against the live checker, red-teams its own work, and keeps only what survives.

Built solo, in the open, from Ukraine 🇺🇦.

GitHub: https://github.com/umbraaeternaa/loom
Site: https://umbraaeternaa.github.io/loom
Playground: https://umbraaeternaa.github.io/loom/play.html
Instagram: https://instagram.com/umbra_owner_architect_ai
Support: https://send.monobank.ua/jar/AHaziFXjYX

Top comments (0)