"매 mobile 에 매 최적화된 매 ahead-of-time bytecode 매 JS engine.". Meta 가 매 React Native 용으로 매 만든 engine. 매 startup time + 매 memory + 매 binary size 가 매 우선. 매 2026 의 매 RN 0.70+ 부터 매 default — 매 JSC 대비 매 cold start 30-50% 단축.
매 핵심
매 설계 목표
Fast startup: 매 AOT bytecode → 매 parse 비용 0.
Low memory: 매 generational GC, 매 NaN-boxing 없는 매 Hades collector (concurrent).
Small binary: 매 SymbolTable / StringTable 의 매 dedupe.
Mobile first: 매 ARM64 + 매 small heap 의 매 가정.
매 Architecture
Compiler: hbc (Hermes ByteCode) — 매 build 시 매 .hbc 파일 생성.
VM: register-based interpreter — 매 stack-based JSC 와 매 다름.
GC: Hades — 매 concurrent + generational.
No JIT (default): 매 mobile binary 정책 (iOS) + 매 startup 우선. 매 static Hermes (sh) 가 매 AOT native compile 실험.
// 1. eval / new Function — supported but slow (no JIT)
// 2. Proxy — supported in 2026 but heavier than V8
// 3. Intl — opt-in (intl=true in build flag), default 작음
// Prefer static patterns
consthandler=handlers[type];// O(1) lookup
// over
consthandler=eval(`handle_${type}`);
Static Hermes (experimental 2026)
# AOT to native — bypass interpreter
shermes -typed -exec index.ts
# Significant throughput gain when types annotated