Running TypeScript usually means shipping an entire JavaScript runtime like Node.js or embedding V8 inside your binary. Scriptc takes a fundamentally different path by compiling TypeScript and JavaScript directly into native machine code and WebAssembly using LLVM.
The compiler relies on the static type definitions already validated by TypeScript to generate native executables without an embedded runtime. When your code imports third-party npm packages, the compiler resolves and compiles them alongside your code. Any dynamic patterns or unhandled runtime behaviors that cannot be compiled natively are caught at build time with diagnostics and migration hints.
Stripping the virtual machine unlocks immediate cold-start advantages and drastically reduces memory footprints for command-line tools and microservices. Early benchmarks point to minimal binary sizes and faster startup speeds compared to packaged engines.
Compiling dynamic languages to native code always forces trade-offs, but eliminating runtime overhead changes how backend services can run.

