Perry so với các lựa chọn thay thế

Cách Perry so sánh với các phương thức xuất bản TypeScript khác: runtime, trình biên dịch và framework UI đa nền tảng. Trung thực, có nguồn dẫn, kèm số liệu đo được khi có.

Các dữ kiện kỹ thuật và ghi chú đo lường được duy trì bằng tiếng Anh để tránh sai lệch giữa các bản dịch.

Runtime TypeScript

Perry vs Bun

Both can produce a single executable, but the contents differ. Bun bundles the application with a copy of the Bun runtime. Perry compiles supported code to native machine code and statically links its own runtime and GC without a JavaScript engine by default.

Runtime TypeScript

Perry vs Deno

Deno compile produces a standalone executable by bundling a slimmed-down Deno runtime with the program. Perry compiles supported code through LLVM and does not include a JavaScript engine by default, while statically linking its own runtime and GC.

Trình biên dịch TS-to-native

Perry vs Static Hermes

Perry and Static Hermes both explore ahead-of-time JavaScript/TypeScript compilation, but they have different runtimes, toolchains, target goals, and maturity. Static Hermes remains an active branch of the Hermes project; Perry ships a pre-1.0 CLI and platform stack.

UI đa nền tảng

Perry vs Electron

Electron embeds Chromium and Node.js and renders application UI as web content. Perry compiles supported TypeScript through LLVM and maps its UI model to platform widgets where supported. Electron is more mature and web-compatible; Perry targets a different UI and deployment model.

UI đa nền tảng

Perry vs Tauri

Tauri combines a compiled Rust core with HTML, CSS, and JavaScript rendered in an operating-system webview. Perry compiles supported TypeScript through LLVM and maps Perry UI to platform widgets. Tauri benefits from web frontend compatibility; Perry targets a no-webview UI model.

UI đa nền tảng

Perry vs React Native

React Native normally runs JavaScript through Hermes and renders host-platform views through its renderer and native-component system. Perry compiles supported TypeScript through LLVM and statically links its runtime and GC. React Native is much more mature; Perry offers a different AOT and target model.

UI đa nền tảng

Giải pháp thay thế Electron cho TypeScript

Bốn hướng đi thực tế cho ứng dụng desktop TypeScript năm 2026: Electron, Tauri, binary đơn tệp của Bun và widget gốc của Perry. So sánh trung thực về kích thước binary, bộ nhớ, UI stack và ngôn ngữ.