TypeScript, now native.
TypeScript generics and mental model — metal performance and control.
* Synthetic benchmark on Apple M2 • MetaScript compiles to native C
What Makes MetaScript Different
Full TypeScript GenericsTHE IMPOSSIBLE
Conditional types, mapped types, infer keyword — the complete type system, monomorphized to native code.
Learn moreThree Runtimes
Same code compiles to C (native), JavaScript (browser/Node), or Erlang (distributed). Choose per use case.
Learn moreOperator Overloading
Define custom operators like |> (pipeline), <> (diamond), <=> (spaceship). DSLs made easy.
Learn moreExtension Methods
Add methods to any type. Zero-cost — compiles to static function calls, not prototype pollution.
Learn moreDistinct Types
Prevent bugs TypeScript allows. UserId and OrderId are different types, not both "string".
Learn moreDefer & Memory Control
Zig-style defer for cleanup. Optional @stack/@arena annotations when you need control.
Learn moreWho MetaScript is for
For JavaScript developers
You already know 80% of what you need. MetaScript only opens the remaining 20%: the part that lets you build native binaries, engines, backends, and tools with performance close to C/Rust - using the same JavaScript-shaped language you've been speaking for years.
Start as a JavaScript developerFor systems developers
MetaScript doesn't try to replace Rust or C. It's the place where you can bring your systems skills down to where millions of JS developers live. Instead of trying to teach the whole world Rust, you ship one MetaScript package and instantly put your work in front of them.
Start as a systems developerWhy Developers Choose MetaScript
Ship native binaries without leaving your TypeScript mental model
Cut cold starts and memory usage without rewriting everything in Rust or Go
Use C, npm, and BEAM ecosystems from one language and package manager
Deploy to Lambda, CLI, browsers, or distributed systems with the same codebase
Get 90% of C performance with code that looks like JavaScript
Build tools and engines that JS developers can use without learning Rust