ELSEIF
Your brief EB
1,377 stories from 222 feeds 1279 clusters Refreshed 32 minutes ago next pull 12:12

LANGUAGES Signal 411

Vercel Labs Ships scriptc, a TypeScript-to-Native Compiler That Leaves the JavaScript Engine Behind

scriptc compiles TypeScript into native executables without Node or V8, using the TypeScript compiler for type checking and emitting C or WebAssembly.

WHY IT MATTERS

The compiler offers dramatically faster startup and lower memory use, but incurs slower runtime performance and requires careful handling of dependencies and dynamic features.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

scriptc produces native binaries that start up 12x faster and use 72x less memory than Node, but runs 7.5x slower in CPU-bound tasks.

02

It requires Node.js 24 or newer, mandates explicit flags for dynamic execution, and depends on experimental features like --npm-static and QuickJS for certain workloads.

03

The project faces skepticism over longevity and practicality, with concerns about maintainability, performance trade-offs, and limited ecosystem support.

THE READ

What the cluster adds up to.

ORIGINAL ANALYSIS

scriptc compiles TypeScript to native binaries by leveraging the TypeScript compiler for type checking and emitting C or WebAssembly, eliminating the need for Node, V8, or any JavaScript runtime in the final executable.

The resulting binaries start up in under 2 milliseconds and consume only a few megabytes of memory, a stark contrast to traditional Node or Bun environments that require tens of megabytes and tens of milliseconds to initialize.

However, scriptc’s runtime performance lags behind Node and Bun, with one benchmark showing execution speed up to 7.5 times slower, and many developers encountering numerous type-checking errors when integrating third-party libraries.

Adoption demands Node.js 24 or newer, explicit flags for dynamic execution, and careful management of dependencies, as the compiler enforces strict limitations on memory management, object key ordering, and process arguments.

The project’s future remains uncertain, given Vercel’s history with abandoned experiments like zerolang, and the broader community’s skepticism about its practicality compared to established compiled languages.

Written by elseif from the cluster below · checked for specifics the sources never contained

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
InfoQ Vercel Labs Ships scriptc, a TypeScript-to-Native Compiler That Leaves the JavaScript Engine Behind Open ↗