~/talk

Sharing Code between iOS & Android with Rust

Talkat Mobilization 8 · on Friday, 2018-10-26· [rust]
slides:none on file

Compares Rust, Swift and Kotlin/Native with concrete benchmarks: small text-processing runs compile in ~1s compile time for Rust vs 5s+ for others, string-split runtime 0.06s Rust vs 3.14s Swift, chunking workload 1s Rust vs ~12s Swift, JSON parse 0.18s Rust vs 3s Swift, and average memory 6 MB Rust vs 138 MB Swift and 331 MB Kotlin. Shows a working Rust library exposed to Android via autogenerated Java bindings and to iOS via C FFI (build.rs integration), and demonstrates safe concurrency using Arc+Mutex to avoid data races.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:26Why share code between platforms
  3. 2:29Rust language overview
  4. 9:35Why Rust over C++
  5. 10:59Benchmarks comparison
  6. 20:32Rust principles in practice
  7. 21:15Demo Rust shared library
  8. 26:56Rust memory management
  9. 31:32Fearless concurrency in Rust
  10. 34:05Rust pros and cons
  11. 35:28When to use Rust for mobile
~/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.