~/talk

Going Static, Gradually: Semantic Soundness and Telling the Truth at Scale

Talkat DLS 2023 · on Tuesday, 2023-10-24· [typescript]
links:none on file
slides:none on file

Introduces Sound Dynamic as a semantics that makes Hack’s syntactic types correspond to semantic sets so types “don’t lie,” trading full deep checks for shallow runtime enforcement and a conservative rule around erased generics; codebase size is 10M+ lines. Adds like types (sugar for T|Dynamic) so invariants are preserved without invasive runtime changes. Rolled out via IDE hovers and error messages, integrated into linters and static tooling, and reduces unsafe lint-driven edits while keeping performance constraints.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14Hack’s evolution from PHP
  3. 3:00Types that lie in Hack
  4. 7:32Runtime checks infeasible
  5. 8:37Sound Dynamic types
  6. 11:51Preserving invariants
  7. 13:58Balancing soundness and expressivity
  8. 16:48Impact at Meta
  9. 17:30Next 20 years for gradual typing
  10. 18:36Q&A
~/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.