Vercel Labs open-sources ScriptC, a native TypeScript compiler
Vercel Labs has open-sourced ScriptC, an experimental compiler that lowers TypeScript and JavaScript to C, LLVM IR, native machine code and WebAssembly. Static builds ship without Node.js or V8, start in microseconds and use minimal memory, with a QuickJS-NG fallback for dynamic code.
- ScriptC compiles TS/JS to C, LLVM IR, asm and wasm32-wasi
- Static builds contain no Node.js or V8 and start in microseconds
- The --dynamic flag embeds the QuickJS-NG engine for npm packages
- scriptc coverage reports how much code compiles statically
Read next
Software