Lux.
Clean code for the energy-aware era.
A web-optimized language that compiles clean source into lean, energy-efficient output across heterogeneous compute. Readable in, small out: tiny bundles, little runtime, fewer joules per interaction.
view Counter(count: int) { button(on:click = count += 1) { 0.2 pJ "Clicked " count " times" } } Clean source in. Lean output out.
The language
Clean in, lean out
Modern web syntax, with efficiency handled by the compiler instead of the developer.
Readable by default
Clean, modern syntax that reads like intent. The savings come from the compiler, not from cryptic code.
Lean output
Compiles to small, fast artifacts with little to no framework runtime, so each interaction costs fewer joules on the user’s device.
Heterogeneous targets
One source lowers to the web’s many runtimes, wasm and GPU included, each chosen for efficiency.
The discipline
The web, on a SWaP-2C budget
Every byte you ship runs on someone else’s battery. Lux builds the web to a SWaP-2C budget, on their device and yours.
Size
Small bundles. Less to download, parse, and keep resident.
Weight
Little to no framework runtime riding along.
Power
Fewer joules per interaction on the user’s device.
Cost
Less bandwidth and compute to serve at scale.
Cooling
Lighter pages mean cooler phones and laptops.