~/talk

Scala vs Idris: Dependent types, now and in the future

Talkat Strange Loop 2013 · 2013-09-18..09-20· [typescript]
links:none on file
slides:none on file

A head-to-head of concrete engineering: Idris demonstrates full dependent types, builds sized vectors and an effects DSL that type-checks, compiles and runs, and statically rejects a forgotten file close (the resource-protocol example actually fails to type-check). Scala plus shapeless encodes the same patterns — sized lists, vconcat checks — but requires many explicit annotations, relies on implicits for proofs, and hit type-inference limits after about a week and a half of porting the effects DSL. Claims: Idris is practical for correctness; Scala can fake it but with heavy ergonomic cost.

AI-written summary · about

  1. 0:00Introduction to computer errors
  2. 1:37The Mars climate orbiter crash
  3. 2:54Introduction to dependent types
  4. 5:19Idris language examples
  5. 10:09Computing with types
  6. 12:39Questions and answers
  7. 14:49Dependent types in Scala
  8. 21:19Translating Idris to Scala
  9. 27:51Resource usage protocols
  10. 31:49Challenges in Scala effects
  11. 37:20Conclusion
~/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.