~/talk

Sharing Code between iOS & Android with Rust

Talkat DroidKaigi 2019 · 2019-02-07..02-08· [rust]
slides:none on file

Benchmarks show Rust can be tiny and fast: a CSV-like split/trim/sum example runs near-instant versus Kotlin’s ~1.8s and C++ ~0.1s, and a 27 MB JSON parse is 0.17s JSON parse using 6 MB RAM versus Kotlin’s ~15.9s and 3331 MB; code compiles into a C library for iOS via C ABI + Objective‑C bridge and into Java via JNI/SWIG, and parallelism uses Rayon’s parallel iterators. Rust works and builds cleanly for substantial shared model logic; skip it for trivial JSON-passing-only cases.

AI-written summary · about

  1. 0:00Intro
  2. 3:40Why use Rust
  3. 7:03What is Rust
  4. 8:13Rust Language
  5. 16:50Sharing code between iOS Android
  6. 22:11Rust Concurrency
  7. 25:43Rust Features
~/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.