~/talk

From PHP to Hack as a Stack and Back

Talkat PHPConf.Asia 2016 · 2016-08-23..08-24· [php]
links:none on file
slides:none on file

History of moving a PHP codebase onto HHVM and Hack with concrete migration notes: HHVM runs as a drop‑in but top‑level code must be bootstrapped (use a partial require_once file), references and eval/variable variables are unsupported, and HTML+PHP needs XHP or separate rendering. Hack’s type checker forces shapes, generics, and collections (map/vector/set/pair), so expect fewer runtime bugs but plan refactors for dynamic syntax and intrinsics.

AI-written summary · about

  1. 0:00Introduction
  2. 2:18How I got started
  3. 3:45HPHP
  4. 4:55What is HPHP
  5. 6:54HPHP in 2013
  6. 8:40Content Management System
  7. 11:45We Need Something New
  8. 12:35Why Hack
  9. 15:00Successes
  10. 19:36PHP vs Hack
  11. 21:10Top Level Code
  12. 22:28Top Level to Change
  13. 23:38References
  14. 24:36XHP
  15. 26:43Intrinsic
  16. 28:09Dynamic Code
  17. 29:35Other Changes
  18. 31:53Types
  19. 35:11Type aliases
  20. 37:06New types
  21. 37:40Callable
  22. 38:38Tuples
  23. 40:02Class Attributes
  24. 40:57Conclusion
  25. 41:36Questions
  26. 42:01Hiphop ESP
~/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.