Discover and explore top open-source AI tools and projects—updated daily.
PerryTSTypeScript compiler for native executables
Top 22.8% on SourcePulse
A native TypeScript compiler written in Rust, Perry enables developers to build fast, small, standalone executables without relying on Node.js or browser runtimes. It leverages SWC for parsing and LLVM for native code generation, facilitating cross-platform application development with native performance characteristics.
How It Works
Perry compiles TypeScript directly to native machine code using Rust, SWC for parsing, and LLVM for backend code generation. This approach eliminates runtime dependencies like Node.js or browser engines, resulting in single, self-contained binaries. Key optimizations include scalar replacement of non-escaping objects, inline bump allocators, and specialized numeric handling, allowing it to compete with systems languages.
Quick Start & Requirements
npm/npx (npm install @perryts/perry), Homebrew (brew install perryts/perry/perry), winget, APT, or building from source (cargo build --release).perry doctor command can verify the environment setup.Highlighted Details
perry-react), databases (Prisma-compatible SQLite, PostgreSQL, MySQL), and more.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
Some platform-specific testing (iOS, tvOS, watchOS simulators, Android) requires manual execution and specific toolchains, and is not fully automated in CI. Certain npm packages may still require the embedded V8 runtime, adding ~15MB to binary size. The system lacks runtime type checking; developers must use typeof and instanceof for runtime checks.
7 hours ago
Inactive
Snapchat