Perry compiles TypeScript directly to native executables using SWC and LLVM, eliminating runtime dependencies while supporting 25+ platforms. The tool promises native performance without Electron's overhead, generating 2-5MB binaries that run on macOS, iOS, Android, Linux, Windows, and WebAssembly.
The compiler features a generational garbage collector and lazy JSON tape parsing, achieving 18x faster performance than Node.js in benchmarks. Perry includes built-in implementations of common Node.js APIs, optional V8 runtime for npm packages, and compile-time plugin composition.
Developers can compile TypeScript files with a single command. The tool handles code signing for multiple platforms and automated UI testing across all supported environments. Perry offers free usage for open-source projects with commercial plans available for teams.
Source: Hacker News · Summarized by HeadlinesBriefing