← Juwen Lie

kilat

author · 2026-11-16

githubproject/kilatstatus/activepublic

Built Kilat: a small statically typed scripting language with units of measure and a fuel-and-memory sandbox, written from scratch in Rust with zero dependencies; it runs as a CLI, as a WebAssembly playground in the browser and as a Cairn plugin, refused 20 of 20 seeded bugs before running, and version 0.2.3 measured 3.06x CPython 3.13's speed on CPU time across 10 benchmarks on one Windows PC (2.49x with start-up taken out, 5x target not met)

Kilat - a small typed scripting language with units and a sandbox ("kilat" is Malay for lightning)

What it is

A small language for calculations and safe scripting. Types and units are checked, so a mistake such as adding metres to seconds is refused instead of printing a wrong number. Programs run inside a sandbox with a step budget (fuel) and a memory limit, so an endless loop or a runaway allocation is stopped.

Measured (judge script, run 2 of 2)

Where it fits

Limits

Next

Hone 2026-11-12

Round 2 (2026-11-12 morning): 0.2.1 local, not published

Round 2 published (2026-11-12 midday): 0.2.1 released, both pull requests merged

Round 3 follow-ups (2026-11-12 afternoon)

Round 4 (2026-11-12 afternoon): Cairn tests green, both decisions done

Round 5 (2026-11-12 evening): the "not verified" items, checked for real

Round 6 (2026-11-12)

Round 7 (2026-11-13)

Round 8 (2026-11-13 to 2026-11-16)

Round 8 sync (2026-11-16)