• React Native とは?

    React Native's current documentation says most applications use Hermes, an open-source JavaScript engine optimized for React Native. Fabric and native components connect React code to host-platform views, widgets, and controllers.

  • 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.

並べて比較

機能PerryReact Native
ExecutionLLVM ahead-of-time machine codeJavaScript through Hermes in most applications
UIPerry UI mapped to platform widgetsReact renderer plus host/native components
Primary mobile platformsiOS, iPadOS, visionOS, Android, Wear OS, watchOS, tvOSCore documentation centers on iOS and Android; additional platforms use ecosystem projects
EcosystemPre-1.0 Perry packages and native APIsEstablished React Native and Expo ecosystem
CompatibilityPractical subset; optional V8 fallbackHermes/React Native JavaScript environment

Perry が優れている点

  • AOT native machine code for supported JavaScript/TypeScript
  • No JavaScript engine in native output by default
  • Declared wearable, TV, desktop, and Web/WASM target model

React Native が優れている点

  • Far larger production ecosystem
  • Mature React and Expo tooling
  • Broad library and community support
  • Deeply developed iOS and Android workflows
  • Perry を選ぶべきとき

    Choose Perry when its AOT model, target set, and validated widget/API coverage fit the application.

  • React Native を選ぶべきとき

    Choose React Native when ecosystem maturity, Expo, community libraries, and established iOS/Android production workflows are decisive.

結論

Perry's architecture is unusual; React Native's ecosystem is the safer default for many mobile teams today. Validate Perry when its AOT output or target reach solves a specific product constraint.

出典

Perry を試す

今日から JavaScript/TypeScript をネイティブにコンパイルしましょう。