NATIVE โ€ข TYPESCRIPT โ€ข NO RUNTIME
Perry

Perry

Native TypeScript compiler that compiles your code directly to machine code with no runtime required

Compiles to Machine Code
No Runtime Required
Open Source (MIT/Apache)
2-5 MB
Binary Size
~1ms
Startup Time
2.2x
Faster Than Node
MIT
Open Source

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

1

SWC Parsing

TypeScript code is parsed with SWC (Speedy Web Compiler) โ€“ the fastest TypeScript parser, written in Rust.

2

HIR Transformation

The AST is transformed into High-Level Intermediate Representation, optimized for code generation.

3

Cranelift Codegen

Cranelift generates optimized machine code for x86-64, ARM64, and more โ€“ the same backend as Wasmtime.

Ready for Native TypeScript?

Discover Perry and compile your TypeScript directly to machine code. Open source and free.

Technologies & Tags

#typescript#compiler#rust#native#open-source#cli#developer-tools
Perry | Skelpo