Introducing Script: JavaScript That Runs Like Rust
After years of starting, killing, restarting, and refining, I finally realised a dream: operating JavaScript at the low level. And I'm giving it to the world!
Script compiles JavaScript and TypeScript to native machine code, without garbage collection, featuring:
- Rust-inspired ownership & borrow checking
- Native compilation via LLVM & Cranelift
- Full TypeScript syntax with type inference
- Zero-overhead abstractions & standalone binaries
It compiles down to SSA-based IR and produces self-contained executables that run with native performance. As a result, we finally have a language that writes like JS but runs like Rust!