🚀Vercel Scriptc Compiles TypeScript to Native Binaries
Scriptc turns TypeScript into lightning-fast native binaries
TL;DR
Vercel's Scriptc compiles TypeScript into native binaries, offering 12x faster startup and 72x less memory usage compared to Node.js. Ideal for serverless functions and CLI tools.
Vercel Labs has released Scriptc, an experimental compiler that turns TypeScript into small native executables with no runtime dependencies. Scriptc compiles TypeScript into binaries that start 12x faster and use 72x less memory than Node.js, making it perfect for serverless functions and CLI tools. This could be a game-changer for teams looking to reduce cold start times and improve performance. Scriptc was created on July 22, 2026, and has already gathered around 4.9k stars on GitHub.

Key Points
Scriptc compiles TypeScript to native binaries, starts 12x faster (1.5 ms vs 18.6 ms) and uses 72x less memory (2.5 MiB vs 181 MiB) than Node.js
Scriptc uses real TypeScript compiler for parsing and type checking, emitting C, LLVM IR, assembly, objects, native executables, or WebAssembly via WASI Preview 1
Scriptc targets macOS, Linux, Windows, and WASI Preview 1, requires Node.js 24 or newer, and installs with npm install -g scriptc
Scriptc repository created on July 22, 2026, has 4.9k stars on GitHub, with documentation available at scriptc.dev
Scriptc benchmark against Bun 1.3.12 and Node 24.18.0 recorded median CLI startup of 1.78ms vs 21.29ms for Bun and 61.78ms for Node, showing significant performance gains
Why It Matters
If you're building serverless functions or CLI tools in TypeScript, Scriptc could slash your cold start times and reduce memory usage. For instance, a benchmark shows Scriptc starts 12x faster and uses 72x less memory than Node.js. However, some functions may require --dynamic flag, pushing parts into QuickJS and impacting throughput.
Comments
Be the first to comment
Enjoyed this article?
Get it daily. 7am. Free. Reads in 5 minutes.
Join 3,503 builders reading daily.