비교 목록으로 돌아가기
크로스 플랫폼 UI

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.

기술 사실과 측정 주의사항은 번역 간 불일치를 막기 위해 영어를 기준으로 관리합니다.

Electron란 무엇인가?

Electron's official documentation describes a desktop framework that embeds Chromium and Node.js. Its main process runs in Node.js and each BrowserWindow loads web content in a renderer process based on Chromium's multi-process architecture.

Perry란 무엇인가?

Perry parses TypeScript and JavaScript with SWC and compiles supported code ahead of time through LLVM. Native builds do not require an external Node.js installation or JavaScript engine, but they do statically link the Perry runtime and garbage collector. Perry is pre-1.0, implements a practical language and Node.js subset, and offers an optional embedded V8 fallback for code that needs engine semantics.

나란히 비교

기능PerryElectron
UI renderingPlatform widgets where supportedHTML/CSS in Chromium renderer processes
RuntimePerry runtime + GC; no JS engine by defaultChromium, V8, Node.js, and Electron APIs
TargetsDesktop plus mobile, wearable, TV, Web/WASMDesktop: macOS, Windows, Linux
Web compatibilityPerry UI and supported APIsChromium web platform
Ecosystem maturityPre-1.0Established framework and tooling ecosystem

Perry가 앞서는 점

  • +Native-widget UI model
  • +No bundled browser engine in native builds
  • +Targets beyond desktop
  • +AOT machine code for supported code

Electron이 앞서는 점

  • +Mature ecosystem and documentation
  • +Chromium-consistent web rendering
  • +Broad Node.js and npm compatibility
  • +Fast reuse of existing web applications and teams

Perry을 선택해야 할 때

Choose Perry when real platform widgets and non-desktop targets matter and your application fits its current support surface.

Electron을 선택해야 할 때

Choose Electron when web compatibility, ecosystem maturity, desktop focus, and reuse of an existing web frontend outweigh browser-engine distribution costs.

결론

Electron and Perry optimize for different constraints. Measure your real installer, memory, startup, accessibility, package compatibility, and UI requirements before choosing.

출처

Perry 사용해보기

오늘 바로 TypeScript를 네이티브로 컴파일하세요.

시작하기