~/talk

Rust is easy

Talkat PyCon Italia 2023 · 2023-05-25..05-28· [rust]
links:none on file
slides:none on file

Claim: Rust is easy if you trust the compiler. The demo installs and uses rustup and cargo, edits in Vim with rust-analyzer and Copilot disabled, drops a Python-style def into main.rs, then iteratively fixes errors: missing fn/main, parameter types, String vs string naming, lifetime/borrow hints and unused-code warnings until cargo run succeeds. A later attempt at factorial hits private/unstable range APIs and type-bound errors, showing what works (stepwise compiler fixes) and what still blocks a quick port.

AI-written summary · about

  1. 0:00Introduction to Rust
  2. 1:56Live Rust demo from Python
  3. 13:41Python typing improvements
  4. 20:25Interactive Rust exercise
  5. 28:14Closing and thanks
~/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.