~/talk

HHVM: the alternative PHP Runtime

Talkat International PHP Conference Spring 2014 · on Sunday, 2014-06-01· [php]
slides:none on file

Explains how Facebook replaced PHP with HipHop tools: a C++ transformer (hphpc) that converted 880,000 lines to C++ in under a second but then took hours to compile and produced multi‑GB binaries, and an interpreter (hphpi) that led to the HipHop Virtual Machine with typed SSA IR and JIT compiling hot code to machine code. Claims production results: roughly 50% CPU reduction versus Apache+PHP (2x throughput for Facebook), up to 80% less memory in some tests, and adds a new language (Hack) with gradual static typing to catch errors earlier.

AI-written summary · about

  1. 0:00Intro
  2. 4:13Forms Interpreter
  3. 6:56Zend Engine 0.5)
  4. 7:37Zend Engine 1.0)
  5. 8:07Zend Engine 2.0)
  6. 15:54Facebook starts work on "HipHop for PHP"
  7. 26:36Facebook open-sourced the solution
  8. 29:40Facebook uses HPHPc in production
  9. 32:11Abstract Syntax Tree
  10. 34:32Type Inference
  11. 36:04HipHop Bytecode (HHBC)
  12. 38:03Just-in-Time Compilation
  13. 38:50Native Machine Code
  14. 42:20Framework Parity
  15. 43:20Facebook open-sources Hack
  16. 44:47Collaboration with the PHP Project
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.