~/talk

Advanced Rust Programming Techniques

Talkat GOTO Copenhagen 2024 · 2024-09-30..10-04· [rust]
slides:none on file

Covers how Rust uses ownership and borrowing as contracts for resource lifetimes, shows three concrete API patterns for writing a string to a file (take ownership, borrow data, borrow both file and data) and argues when each fits. Builds a mutex from UnsafeCell plus a guard whose Drop unlocks; lock uses a blocking pthread-style call and an unsafe block to dereference raw pointers. Claims unsafety works if it’s tightly encapsulated and reviewed.

AI-written summary · about

  1. 0:00Intro
  2. 1:47What is Rust?
  3. 4:19What problems does Rust want to tackle?
  4. 7:05Ownership
  5. 11:22Borrowing
  6. 15:56Summary
  7. 16:22Concurrency
  8. 21:13Fighting the borrow checker?
  9. 22:12Rust: Ownership & borrowing & strong encapsulation
  10. 23:04Encapsulation
  11. 24:48Mutex usage
  12. 29:14What does Mutex do?
  13. 30:49Functions & their implementations
  14. 32:26The unsafe sublanguage
  15. 37:17What we covered
  16. 38:26Conclusions
  17. 39:21Outro
~/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.