Vercel Labs Released Scriptc TypeScript Compiler

The experimental tool compiles TypeScript to native binaries and WebAssembly to improve execution efficiency.

Updated on Sept. 25, 2026 in Artificial Intelligence

Vercel Labs Released Scriptc TypeScript Compiler

Live Poll

Would you prefer using native-compiled binaries for your TypeScript projects instead of traditional runtimes?

Vercel Labs has released scriptc, an experimental TypeScript-to-native compiler currently at version 0.0.16. The project has already garnered 4.9k GitHub stars since its repository was created in July.

Why it matters

Scriptc aims to optimize performance by lowering TypeScript code to a typed intermediate representation before emitting C, LLVM IR, or WebAssembly. This approach could significantly reduce overhead for developers seeking native-speed execution for TypeScript-based server applications.

The compiler achieves a median CLI startup time of 1.78ms and a footprint of 370 KB for its executable. It manages memory through reference counting and uses UTF-8 encoding for strings.

The players

Vercel Labs

An innovation-focused division of the edge computing platform provider known for the Next.js framework and serverless deployment infrastructure.

The details

The compiler utilizes the standard TypeScript compiler for initial parsing and type checking. It then lowers the program into a typed intermediate representation (IR) to facilitate the emission of C, LLVM IR, or WebAssembly (a binary instruction format for stack-based virtual machines). For server-side tasks, 62% of logic is handled within the embedded quickjs-ng engine, enabling 18.4k requests per second in Hono framework benchmarks.

Timeline

  1. July 22, 2026: The scriptc repository was created.

  2. September 25, 2026: Vercel Labs officially released the scriptc compiler.

The Tech Race

Scriptc marks a strategic shift in the JavaScript ecosystem toward ahead-of-time compilation for native performance. It follows the trajectory set by runtimes like the Bun runtime by attempting to push TypeScript beyond its traditional interpreted limits.

Developers can now target macOS, Linux, Windows, and WASI Preview 1 to test native execution, provided they have Node.js 24 or newer installed. While the project is currently in an experimental state, it offers a pathway to significantly lower idle memory usage for serverless deployments.

The takeaway

Scriptc signals a growing interest in bringing native performance to the TypeScript ecosystem through static compilation. Developers should monitor the repository's versioning milestones to track progress beyond this initial 0.0.16 release.

Further reading

For more on the evolution of development tools, visit the Artificial Intelligence section.

More information

View the Official scriptc documentation to get started with the compiler.

Source note: This article includes information reported by InfoQ.

Live Poll

Would you prefer using native-compiled binaries for your TypeScript projects instead of traditional runtimes?

Vercel Labs Released Scriptc TypeScript Compiler