Who Needs This?
From CLI developers to serverless teams โ who benefits from native TypeScript compilation
CLI Tool Developers
Build native CLI tools that start instantly and can be distributed without Node.js installation. Perfect for DevOps tools and developer utilities.
Serverless/Edge Developers
Cold start times of ~1ms instead of seconds. Tiny binaries mean faster deployments and lower costs for edge computing.
Embedded Systems Developers
TypeScript for resource-constrained environments. 2-5 MB binaries instead of 80 MB Node.js runtime enable new deployment scenarios.
Performance-Critical Apps
When every millisecond matters: 2.2x faster execution than Node.js, with the full type safety of TypeScript.
Key Features
What sets Perry apart from other TypeScript tools
Native Machine Code Compilation
TypeScript compiles directly to native executables โ no V8 engine, no runtime, just pure machine code.
Full TypeScript Support
Generics, classes, async/await, closures, and more. Perry supports the TypeScript features you use every day.
Tiny Binary Sizes
2-5 MB executables instead of 80 MB Node.js installation. Perfect for distribution and container deployment.
npm Package Compatibility
27+ popular packages reimplemented natively: PostgreSQL, MongoDB, bcrypt, HTTP, and more โ without JavaScript runtime.
Native Standard Library
fs, path, crypto, os, Buffer, child_process, JSON, Math, Date โ everything you need, implemented natively.
Open Source (MIT/Apache)
Perry is fully open source under MIT and Apache 2.0 licenses. Use it, modify it, contribute to it.
How It Works
The technology behind Perry
SWC Parsing
TypeScript code is parsed with SWC (Speedy Web Compiler) โ the fastest TypeScript parser, written in Rust.
HIR Transformation
The AST is transformed into High-Level Intermediate Representation, optimized for code generation.
Cranelift Codegen
Cranelift generates optimized machine code for x86-64, ARM64, and more โ the same backend as Wasmtime.
Technologies & Tags
