@rauchg: I compiled ππππππ CLI TypeScript to native with πππππππ. Incredible. β Resulting binary size: 1.28mb β Staβ¦
Summary
Guillermo Rauch compiled Vercel CLI TypeScript to native using scriptc, achieving a 1.28MB binary, 1.5ms startup overhead, and 2.94s compile time. scriptc is a TypeScript-to-native compiler written in TypeScript with full Node.js compatibility.
View Cached Full Text
Cached at: 07/27/26, 03:56 PM
I compiled vercel CLI TypeScript to native with scriptc. Incredible.
β Resulting binary size: 1.28mb β Startup overhead: 1.5ms (mean) β Compiles in 2.94s (mean) β Uses node:https, node:fs, node:path, node:os, node:crypto β Highly readable TypeScript β Code translated by GLM 5.2 Fast β Deploys like a charm!
No embedded v8 / QuickJS, fully static.
Chris Tate (@ctatedev): New experiment: scriptc
A TypeScript-to-native compiler
β Written in TS β Static by default β Type checked by tsc β Byte-for-byte Node.js compatibility β Falls back to QuickJS-NG for dynamic
Goal: compile existing TS/JS with no code changes
Similar Articles
Scriptc by Vercel: TypeScript-to-Native compiler, no JavaScript engine in binary
Vercel Labs releases Scriptc, a compiler that transforms ordinary TypeScript into small, fast native executables without requiring Node, V8, or any JavaScript engine in the binary, supporting most of TypeScript's static features and Node's API surface.
@rauchg: TypeScript is the new TypeScript When πππππππ-compiled, outperforms tsgo by 2-4x
Vercel Labs η¨ scriptc ε° TypeScript ηΌθ―ε¨ tsc-ts η§»ζ€ε TypeScriptοΌε£°η§°ε Άζ§θ½ζ― Go η tsgo εΏ« 2-4 εγ
@rauchg: Vercel CLI as a self-updating binary with zero external dependencies. Our CLI is one of the key interfaces enabling theβ¦
Vercel CLI now ships as a self-updating native binary with zero external dependencies, improving security, startup speed, and reducing footprint by ~80%.
@rauchg: We can do better than Rust
Malte Ubl (cramforce) discusses scriptc, a TypeScript native compiler that computes exception behavior to emit more optimal code, as part of an effort to make compiled TS faster than Rust, in response to a post by @rauchg.
@cramforce: I benchmarked http://scriptc.dev against bun --aot scriptc is 1.6x faster than bun --aot Should you trust this benchmarβ¦
A tweet promotes scriptc, a TypeScript-to-native compiler claiming to be 1.6x faster than bun --aot, while candidly warning that the benchmark is untrustworthy since scriptc was optimized against it. The post details scriptc's LLVM-based pipeline, coverage reports, npm package bundling, and cross-compilation to native binaries and WebAssembly.