Skip to main content

Introducing Script: JavaScript That Runs Like Rust

· 7 min read
Lucas Oliveira
Founder of Script

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!

Script v0.4: From VM to Native - The Self-Hosting Journey Begins

· 8 min read
Lucas Oliveira
Founder of Script

This week marks a major milestone for Script: we've officially begun Phase 4 - Self-Hosting Compiler. After completing Phase 3 (Language Completion), we're now taking the next step toward making Script a truly self-contained language that can compile itself. This post explores what self-hosting means, why it matters, and how we're building toward it.

Building a Production-Ready Standard Library: Lessons from Implementing 10 Modules in One Week

· 8 min read
Lucas Oliveira
Founder of Script

This week, we added 10 standard library modules to Script in just 7 days. From path to math, from date to fs, we went from a minimal runtime to a production-ready standard library. This post shares the lessons we learned, the patterns we established, and the decisions we made along the way.