~/talk

Paradigms of Rust for the Go Developer

Talkat GopherCon India 2024 · 2024-11-11..11-13· [rust, go]
links:none on file
slides:none on file

Compares a real Go race-prone example (two concurrent writes to a non‑thread‑safe map) with a direct Rust port that fails to compile, showing why Rust’s ownership and borrowing model prevents that class of bug. Demonstrates concrete tooling and patterns: Go’s goroutines, channels, sync.Mutex and sync.Map, the race detector; Rust’s threads, mpsc channels, Arc + Mutex and clone semantics. Argues run-after-build safety tradeoffs and says using the race detector in CI catches issues that would otherwise wake engineers at 1:00 a.m.

AI-written summary · about

  1. 0:00Introduction to Rust and Go
  2. 1:04Error handling differences
  3. 2:09Concurrency models compared
  4. 3:57Data races in Go vs Rust
  5. 5:00Ownership and borrowing explained
  6. 8:12Sharing data safely in Rust
  7. 12:09Key takeaways for Go developers
  8. 15:01Q&A session begins
  9. 25:37Summary and closing thoughts
~/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.