~/talk

Functional Rust - An Exploration

Talkat Lambda Days 2018 · 2018-02-22..02-23· [rust]
slides:none on file

Rust code shows immutability by default with opt-in mutability and constants requiring type annotations, demonstrates closures that capture environment and type-inferred anonymous functions, and proves iterator power with concrete examples: fold summing 1..4 to 10 and a custom Counter struct implementing Iterator that yields numbers up to 5 then filters to produce [2,4]. The claim of zero-cost abstractions appears repeatedly and the compiler-enforced expression vs statement rules (semicolon) materially affect function returns.

AI-written summary · about

  1. 0:00$ whoami
  2. 1:08Rust is
  3. 2:50Two reasons
  4. 5:05Disclaimer
  5. 9:25Immutability pt2
  6. 13:42What does a fn return?
  7. 14:48Statements vs Expressions pt2
  8. 15:49Generic Types and Traits
  9. 17:14Enums and Pattern matching
  10. 20:33Higher Order Functions
  11. 22:43Closures
  12. 26:16Iterators pt2
  13. 29:46Implementing the Iterator trait pt3
  14. 33:14Checklist
~/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.