~/talk

Retrofitting Null-Safety into Java

Talkat WITS 2024 · on Saturday, 2024-01-20· [java]
links:none on file
slides:none on file

A compiler plugin called Nullsafe extends Java’s type system, retyping millions of lines at Meta and integrating into CI so a full retype-check runs in about ten minutes; development starts on Infer and moves to a custom Java compiler plugin to support flow-sensitive typing, generics, constraint solving and contracts; error diagnostics use type trees to trace origins; production results show local team NPE drops of 35–80% and a measured app-wide reduction around 27%, demonstrating substantial reliability and productivity gains.

AI-written summary · about

  1. 0:00Retrofitting null-safety in Java
  2. 2:54Project inception and challenges
  3. 6:49Scaling null-safety at Meta
  4. 12:30Hardening with generics and contracts
  5. 20:20Impact on Instagram
  6. 23:17Q&A: Constructors and initialization
  7. 24:43Q&A: Feasibility and drivers
  8. 25:47Q&A: Defensive null checks
  9. 27:32Q&A: Closed-system adoption and APIs
  10. 29:41Q&A: Error traces and JNI
  11. 32:08Q&A: Crash metrics and programming
  12. 33:10Q&A: Gradual typing and propagation
  13. 34:56Q&A: Performance impact
~/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.