~/talk

Convergent Evolution

Talkat CppCon 2014 · on Sunday, 2014-09-07· [rust]
name:Karl Niu
links:none on file
slides:none on file

Argues that C++ concepts and Haskell type classes are convergent solutions, framed by the Curry–Howard correspondence; demonstrates with a concrete example: sort requires a total order and that requirement is an implicit proof carried as an implicit parameter (a record of operations) indexed by type. Shows how Haskell class hierarchies map to C++ template constraints, uses qsort/compare and examples from libraries, and claims this pattern both simplifies templates and actually works as a compiler-time lookup mechanism.

AI-written summary · about

  1. 0:00Intro
  2. 0:58THERE'S NO GREAT INSIGHT HERE
  3. 1:33PROGRAMS ARE PROOFS
  4. 2:28WHAT DOES IT MEAN?
  5. 3:27WHAT IS A CONSTRAINT?
  6. 4:25SO... WHY CONCEPTS/TYPE CLASSES?
  7. 6:26DRINK THE KOOL-AID
  8. 7:41FURTHER READING
~/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.