~/talk

Rust intro for Java Developers

Talkat Devoxx US 2017 · 2017-03-21..03-23· [rust, java]
slides:none on file

Quick Rust primer for Java devs focusing on concrete differences and real tradeoffs: Rust enforces ownership, borrowing and lifetimes to provide memory safety without a GC, preventing segfaults and iterator invalidation; mutable state is explicit and references follow a single-writer/many-readers model. Structs + impl and traits replace Java classes/interfaces, generics are terser, and Cargo manages packages. Interop with C/C++ requires marking blocks unsafe and the recommendation is to wrap unsafe C calls in safe APIs. Performance varies (Mandelbrot >2× faster in one benchmark).

AI-written summary · about

  1. 0:00Intro
  2. 0:48Disclaimer
  3. 5:21Good choices
  4. 6:06Meet Rust!
  5. 6:36Quick view at Rust
  6. 14:15Rust - features
  7. 15:33Rust - it meets the requirements
  8. 15:50More about Rust
  9. 16:53Variable bindings own the values in Rust
  10. 17:45What?
  11. 20:06It is similar to Read-Writers lock
  12. 22:16About exclusive writers
  13. 22:54Top issues that borrowing prevents
  14. 23:50In Rust, every reference has some lifetime associated with it.
  15. 25:08You can explicit lifetimes in Rust
  16. 25:53Top issues that lifetime system prevents
  17. 27:33Classes
  18. 28:08Interfaces
  19. 29:37Rust Generics
  20. 32:07Top Rust complaints
  21. 36:04Bonus #2: Performance
  22. 37:09Bonus #3: Free GIF
  23. 37:59References - Rust Intro
~/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.