Perry Compiles TypeScript directly to executables using SWC and LLVM
Perry is a new tool that compiles TypeScript directly into native executables for various platforms without any runtime dependencies. It utilizes SWC for parsing and LLVM for optimized code generation, resulting in small binary sizes and fast compilation times. The framework supports a wide range of native UI widgets and offers features like compile-time safety and automatic internationalization.
- ▪Perry compiles TypeScript to native GUI and CLI applications across multiple platforms including macOS, Windows, and Android.
- ▪The tool produces standalone binaries that do not require Node.js or any runtime dependencies.
- ▪Perry allows for fast compilation and generates small binaries typically ranging from 2-5MB.
Opening excerpt (first ~120 words) tap to expand
PerryShowcaseBlogRoadmapPublishDocsGitHubENEnglishDeutschEspañolFrançaisItaliano日本語한국어PortuguêsไทยTürkçeTiếng ViệtIndonesia中文v0.5.306 — generational GC + lazy JSON tape default, faster than Node and Bun on most benchmarksOne Codebase. Every Platform.Native Performance.Perry compiles TypeScript to native GUI and CLI apps on macOS, iPadOS, iOS, Android, Linux, Windows, watchOS, tvOS, WebAssembly, and the Web. No runtime. No Electron. Just native binaries.Get StartedView on GitHubterminal$ perry compile main.tsCompiling main.ts...✓ Compiled executable: main (2.3 MB)$ ./mainHello, World!10Targets25+Native UI widgets0 msStartup timeApp StoreReadyShipping in productionReal apps, compiled from TypeScript with Perry.View all showcase projectsMangoNative MongoDB GUI.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Perry.