~/talk

How to use a Rust library inside the JVM application

Talkat EuroRust 2022 · 2022-10-13..10-14· [rust]
slides:none on file

Core Scala optimizer core gets rewritten in Rust and exposed to the JVM via robusta gni and JNI; protobuf messages serialize requests so Java and Rust stay in sync; native binaries for macOS and Linux get bundled into the Scala artifact; Rust panics map to Java exceptions and fallbacks prevent crashes; team runs a shadow run comparing results, fixes about 20 mismatches, and flips traffic only after confidence; system runs over a year in production with no major incidents.

AI-written summary · about

  1. 0:00Start
  2. 1:28Optimization problems are hard
  3. 5:01Rewriting takes time
  4. 14:48Error handling
  5. 15:11DON'T PANIC
~/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.