Clean Code.
Energy efficient. Heterogeneous compute optimized. Run better, faster, and at lower operating costs with Lux.
Every page you visit ships
558 KB of JavaScript.
Growing 14% every year. A typical enterprise chat app ships 55 MB of JavaScript. The size of a full 3D game from the 1990s. Gmail ships 20 MB. JavaScript consumes more CPU than every other browser activity combined. And 98.8% of all websites run it.
vs Rust
vs C
JavaScript
by 2030
"Nobody controls the stack. TC39, W3C, WHATWG, browser vendors, framework authors, build tool authors, package registries. Each optimizes locally. Nobody optimizes for energy." The root cause
415 TWh per year.
Doubling by 2030.
Global data centers consume more electricity than most countries.
Every bloated bundle, every redundant re-render, every 200 MB
node_modules folder
contributes. Your code is part of this.
0.5 g CO2 per pageview. One organization's CI/CD pipeline: 18 tons CO2/year. The web is an energy crisis hiding in plain sight.
They're measuring now.
They'll mandate next.
A regulatory cascade is underway. Energy reporting is already law. Efficiency standards are next. Your framework doesn't produce the numbers they're asking for.
SCI = ((E × I) + M) / R. E = energy in joules. Lux measures energy per component. Traditional frameworks have no equivalent.
One language.
398 KB.
Energy receipt included.
Lux replaces the entire HTML/JS/TS/CSS ecosystem with a single compiled language.
Memory safe. Type safe. Energy aware. Heterogeneous compute optimized.
Single dependency tree. Stable API.
No build toolchain. Just lux build.
lux lift
Zero switching cost.
Point it at your existing web app. Get equivalent .lux source,
an energy comparison report, and a working Lux app. The TypeScript playbook:
perfect interop, then let the numbers do the convincing.
$ lux lift ./my-react-app
// Output:
Analyzing 847 files...
Converting JSX → Lux components
Converting CSS → Lux styles
Converting TypeScript → Lux types
Energy comparison:
Traditional framework: 55.2 KJ/day $3.64/day
Lux: 12.4 KJ/day $0.82/day
Annual savings: $1,029 CO2 saved: 18.2 kg
Every run produces
an energy receipt.
Not an estimate. Not a model. A measurement. Joules consumed, operations performed, watts drawn. Maps directly to ISO 21031, CSRD Scope 3, RGESN, and Blue Angel.
No JavaScript framework produces this data.
Run better.
Run faster.
Run at lower cost.
The language, the compiler, the 1,723 standard library modules, the migration tool. Write Lux in your browser — free, no account, nothing to install.