~/talk

Heresy! Combining Type Systems with PHP

Talkat Code Mesh 2015 · 2015-11-03..11-04· [php]
slides:none on file

Explains how Hack actually puts a strong, static type system on PHP, with concrete mechanisms like unresolved types, fake locals, flow-sensitive tracking and a typechecker built atop HHVM that uses fork+mmap and a shared lockless hash table for parallelism. Describes incremental mode that avoids full rebuilds and the practical result: conversion of tens of millions of lines of code into Hack running on facebook.com since 2013, including the performance tradeoffs and cases that still fail or slow.

AI-written summary · about

  1. 0:00Introduction
  2. 8:19To keep in mind
  3. 10:20Scoping
  4. 17:27Flow sensitivity
  5. 20:33Integration
  6. 22:38Loop fixed point
  7. 23:54Intersection types
  8. 27:37Multithreading
  9. 29:55Shared lockless hash table
  10. 35:57Incremental mode client and server
  11. 38:36Conclusion
~/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.