PHPNG versus HHVM
summary
Compares PHPNG (a deep refactor of the Zend Engine — not a JIT) with HHVM. PHPNG reduces argument-copying, trims ZVAL and array metadata to cut memory (example synthetic case from ~400 MB to ~33 MB) and shows ~30% synthetic speedups and WordPress first-page load improvements (~26s to ~12s). HHVM is Facebook’s JIT VM running the Hack language (type hints, immutables, generics, XHP), offering much higher throughput for some workloads but requiring compatibility fixes and extra deployment effort; it is used by major sites like Wikipedia and Baidu.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 3:22PHPNG deep refactor
- 9:50PHPNG optimization results
- 14:50PHP 7 parser and compiler
- 24:38HHVM architecture and goals
- 30:41Hack language features
- 34:41HHVM PHP compatibility
- 37:52HHVM deployment experience
- 41:27Summary and comparison
- 46:03PHP 7 new features and future








