MetaScript
Beta

TypeScript × Native

TypeScript at the speed of C.

Same syntax you already write — now compiled to native binary. Watch the intro

Why MetaScript exists

Every time tsc runs, your types get thrown away. Without them, even the fastest JS engine has to figure out your code as it runs — that's the runtime ceiling. MetaScript keeps the types and compiles them to native code. Same syntax, no ceiling. Read the full story

What it looks like

Same syntax. Compile to anywhere.

Loading editor...
Click Run to execute this code on a real MetaScript runtime.

Native-tier performance

Here's what “no ceiling” looks like in numbers. MetaScript lands in the native tier — alongside C and Rust.

HTTP Server Throughputrequests/sec (higher is better)
C
(epoll)210K
NATIVE
MetaScript
205K
NATIVE
Rust
(hyper/tokio)171K
NATIVE
Bun
35K
RUNTIME
Node.js
17K
RUNTIME

* Synthetic benchmark on ARM Neoverse-N1 (4-core, 16GB) • MetaScript compiles to native C

AWS Lambda cold start + invocationlower is better
Cold initWarm p50Memory
MetaScript
6.5 ms
1.3 ms
14 MB
Rust
10–30 ms
1–3 ms
10–20 MB
Go
20–100 ms
1–3 ms
10–30 MB
Node.js 20
150–250 ms
1–5 ms
50–80 MB
Python 3.12
150–300 ms
1–10 ms
50–80 MB
Java 21
500–2000 ms
1–5 ms
100–150 MB

* MetaScript measured 2026-04-21 on 128 MB arm64 Graviton (us-east-1, n=59, 4 cold starts) • others from AWS blog posts + canonical sources • reproduce it yourself

The next runtime is no runtime

2009Node

Brought the runtime to the server.

2022Bun, Deno

Made the runtime faster.

2026MetaScript

Eliminate the runtime — reach metal speed.

In production

Under Realm , a live Trading Card Game, runs parts of its TypeScript backend on MetaScript today. It's from our own games studio — we use what we build.

What just works

What's still rough

MetaScript is in beta. There's still a lot to build:

These aren't surprises — they're what comes next when a proof of concept grows into a real tool. The compiler is ready to install today ; source opens July 1, 2026 .

Write your first MetaScript.

MetaScript is in beta. Install the compiler and write your first native TypeScript program tonight, or try it first in the Playground .

curl -fsSL https://metascriptlang.org/install.sh | sh