~/talk

Ready for Rust

Talkat GOTO Copenhagen 2021 · 2021-11-08..11-12· [rust]
links:none on file
slides:none on file

A compact walkthrough builds a genetic programming simulator with the Rust toolchain using rustup & cargo, shows the borrow-checker ownership rules that prevent dangling pointers and data races, and demonstrates easy multithreading via spawn + move handles. Performance jumps from ~110k cycles/sec in a Clojure version to ~3.5M in Rust debug and ~25 million cycles/sec in an optimized build. Compiler errors are numbered and linkable, and fixing captures (pulling params into locals) resolves mutable/immutable borrow conflicts.

AI-written summary · about

  1. 0:00Intro
  2. 1:41The most loved programming language
  3. 3:54Rust vs Swift vs Go
  4. 7:14Memory bugs with C++
  5. 9:13Getting ready
  6. 15:41Code
  7. 25:57Memory management
  8. 41:12Parallelism
  9. 48:31Performance
  10. 55:57Outro
~/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.