@rauchg: I compiled πšŸπšŽπš›πšŒπšŽπš• CLI TypeScript to native with πšœπšŒπš›πš’πš™πšπšŒ. Incredible. βœ“ Resulting binary size: 1.28mb βœ“ Sta…

X AI KOLs Following Tools

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.

I compiled πšŸπšŽπš›πšŒπšŽπš• CLI TypeScript to native with πšœπšŒπš›πš’πš™πšπšŒ. Incredible. βœ“ Resulting binary size: 1.28mb βœ“ Startup overhead: 1.5ms (mean) βœ“ Compiles in 2.94s (mean) βœ“ Uses πš—πš˜πšπšŽ:πš‘πšπšπš™πšœ, πš—πš˜πšπšŽ:𝚏𝚜, πš—πš˜πšπšŽ:πš™πšŠπšπš‘, πš—πš˜πšπšŽ:𝚘𝚜, πš—πš˜πšπšŽ:πšŒπš›πš’πš™πšπš˜ βœ“ Highly readable TypeScript βœ“ Code translated by GLM 5.2 Fast βœ“ Deploys like a charm! No embedded v8 / QuickJS, fully static.
Original Article
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

@rauchg: We can do better than Rust

X AI KOLs Following

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…

X AI KOLs Following

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.