~/talk

The Unexpected Joys of Rust

TalkinRussianat RustCon 2021 · on Friday, 2021-12-03· [rust]
name:Vafel
links:none on file
slides:none on file

A list-driven overview of surprising but useful Rust features collected from developers’ experiences. Covers concrete items such as Result::from_iter, ubiquitous pattern use (including in function arguments and let bindings), and creating arrays with [CONST; N] even for types that are not Copy.

AI-written summary · about

  1. 0:00Rust joys intro
  2. 1:41Collect beyond vectors
  3. 3:50Unit types in collects
  4. 4:59Never type in loops
  5. 6:26Constant context in Rust
  6. 8:37Constant functions
  7. 9:19Transforming Result and Option
  8. 10:26Items as expressions
  9. 11:30Anonymous modules in macros
  10. 13:36Labeled loops
  11. 14:41Maybe uninitialized variables
  12. 15:49Returning references from blocks
  13. 16:52Trait objects for dynamic dispatch
  14. 18:39Full paths without use
  15. 19:44Anonymous trait imports
  16. 20:51Iterator adapter ownership
  17. 22:37Trait bounds for references
  18. 23:40Peekable iterators
  19. 25:28Documenting blocks
  20. 26:12Trait implementation docs
  21. 26:53Pattern matching everywhere
  22. 27:56Repeating array elements
  23. 30:28Anonymous constants
  24. 31:33Deferred initialization
  25. 32:35Pattern matching in function args
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.