~/talk

Rust and Scala, Sitting in a Tree….

Talkat Scale By The Bay 2019 · 2019-11-13..11-15· [rust, scala]
name:Evan Chan
links:none on file
slides:none on file

A Scala in-memory time-series DB stores 100 billion data points and ingests 1M samples/sec but hits ~20s GC pauses; moving off-heap was painful. Rust’s ownership/borrowing model and no garbage collector let structs be inlined (saving ~100 bytes per object), eliminate boxing in iterator transforms, and enforce thread safety via Arc/RwLock and async/await. Examples use Cargo, ripgrep and Apache Arrow demos; embedding via JNI/jnr or GraalVM runtimes proves practical though Rust has a steeper learning curve.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:07Performance challenges on JVM
  3. 3:58Why Rust appealed to us
  4. 5:24Memory model differences
  5. 8:16Ownership and borrowing explained
  6. 11:32Immutability in Rust vs Scala
  7. 13:57Thread safety in Rust
  8. 16:24Async/await in Rust
  9. 17:50Debugging async Rust
  10. 18:14Actors in Rust
  11. 19:17Numeric safety in Rust
  12. 19:38Performance and abstractions
  13. 23:11Promising Rust projects
  14. 24:15Lessons learned from Rust
  15. 25:42Improving Scala with Rust ideas
  16. 26:25Embedding Rust in JVM ecosystem
  17. 27:53Q&A
~/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.