Scriptc by Vercel: TypeScript-to-Native compiler, no JavaScript engine in binary
- Programming
- Developer Tools
- Open Source
- AI
Scriptc is a five-day-old Vercel Labs project that aims to compile TypeScript directly to native code, producing small executables without embedding a full JavaScript engine. In practice it targets a typed subset of TypeScript. When code is too dynamic or depends on untyped JavaScript, it can fall back to bundling quickjs-ng, which undercuts the headline a bit but keeps the tool usable for some edge cases. That makes the core promise easy to understand: if you write controlled backend or CLI code in TypeScript and care about startup time, memory use, or single-binary distribution, Scriptc is trying to give you something closer to Go than to Node packaged as an executable.
Treat Scriptc as an experiment for tiny internal tools, not as a drop-in path for existing TypeScript services. If this problem matters to you, watch for proof on three fronts: compatibility with real npm-heavy code, believable benchmarks, and evidence that Vercel uses it in production.
-
github.com
- Discuss on HN