Lune: Rust for the web

πŸŒ™ Lune is a garbage-collected programming language derived from Rust, and transpiles to TypeScript.

Show me

Apache-2.0 OR MIT Coming soon

Rust-like behaviour πŸ¦€

Immutability, strings and expressions: the things that Rust gets so right are now available to web developers.

Real types πŸ“

No more throwing around objects and describing 'shapes' of things. Derive traits, implement serialisation coherently, and enjoy life.

No null or exceptions 🚫

Just like Rust, Option and Result are your solution to nullability and errors.

Garbage collected πŸ—‘οΈ

Since Lune targets TypeScript, it runs in a garbage collected environment. No references, lifetimes or pointers.

Beautiful documentation πŸ“š

No more learning how to find the documentation for a library. All Lune crates use lunedoc to generate useful documentation from documentation comments in the code.

Compatibility with TypeScript ecosystem 🀝

Lune generates to TypeScript, making it interoperable with the larger TypeScript ecosystem. TypeScript libraries can be used from Lune by using special extern blocks.