~/talk

Typing the Untyped: Soundness in Gradual Type Systems

Talkat Strange Loop 2019 · 2019-09-12..09-14· [typescript]
links:none on file
slides:none on file

Compares TypeScript, Flow, MyPy, Sorbet, Java, Go and Rust through concrete failures and fixes: reading the second array element yields JavaScript undefined and a missed bug unless types are nillable (Sorbet) or Python raises IndexError (MyPy); refining a mutable value requires copying to a local const because Flow invalidates refinements after external calls while TypeScript is optimistic; arrays are covariant in TypeScript (risking runtime errors), Flow forces invariance or readonly and Java inserts runtime checks.

AI-written summary · about

  1. 0:00Introduction to gradual typing
  2. 1:30Soundness vs completeness in types
  3. 6:27Case study array bounds
  4. 11:20Refinement and validation
  5. 17:18Understanding variance
  6. 32:59Trade-offs in type systems
  7. 36:08Conclusion and Q&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.