Overview
Explore the power and potential of HHVM (HipHop Virtual Machine) in this informative conference talk from OSCON 2014. Discover how one of the internet's largest PHP sites operates without using PHP, and learn about HHVM's impressive performance gains of 2x to 10x faster than standard PHP with Opcode Cache. Gain insights into setting up an HHVM server, navigating migration challenges, and unlocking exciting new features. Delve into topics such as HHVM's parity gap, installation process, FastCGI server setup, and its evolution since 2013. Understand HHVM's architecture, including its bytecode interpreter and native code JIT compiler. Explore real-world applications with Magento and Symfony examples. Learn about HACK, a PHP dialect, and its features like constructor arg promotion, generics, and async functions. Discover tools like the Hackificator for code conversion and explore concepts such as user attributes and XHP. Gain knowledge about the PHP Language Specification and its role in defining proper PHP standards. Conclude with a Q&A session and access to valuable resources for further learning.
Syllabus
Intro
HHVM supports all PHP syntax
HHVM's Parity Gap
HHVM is easy to install
Running a FastCGI server
HHVM in 2013
HHVM Community
HHVM - Bytecode interpreter
HHVM -Native code JIT
HHVM - Repo Authoritative Mode
Magento (Daniel Sloof)
Symfony (Christian Stocker)
HACK - Constructor arg promotion
HACK - Generics
Async Functions
hh_server convert - The Hackificator
Hackificating
User Attributes
XHP-XHtml for PHP
PHP Language Specification . Formal standard - Defines Proper PHP
Questions / Resources
Taught by
Meta Developers