scriptc Cuts the JavaScript Engine
2026-09-25
The runtime is the target. A TypeScript file can now emerge from scriptc as a small native executable, while the familiar Node process, V8 engine, and JavaScript interpreter are left outside the build. No engine waits. Vercel Labs is testing a compiler that retains the TypeScript compiler for type checking but sends code toward C or WebAssembly rather than a conventional JavaScript runtime.

This is a sharp break. Scriptc treats TypeScript less as a language that must be hosted and more as source material for ahead-of-time compilation, a design that can reduce startup delay and memory allocation when a program begins. The early benchmarks favor that trade. Startup is faster. Memory use is lower than Node, though execution speed still trails the JavaScript runtime in the tests described so far.
The analogy is cellular translation. Ribosomes convert messenger RNA into proteins; scriptc converts typed source into an executable artifact, with static analysis and code generation replacing runtime interpretation. That comparison has limits. A compiler cannot erase the costs of generated code, and slower execution means scriptc is not yet a universal substitute for Node. Still, for command-line tools, short-lived services, and edge tasks where cold starts matter, removing the engine could change which costs developers accept.
Loading...