~/talk

How To Integrate Rust Into A React Native App

Talkat App.js Conf 2023 · 2023-05-10..05-12· [react-native, rust]
links:none on file
links:none on file
slides:none on file

Describes a concrete recipe to call Rust from React Native: implement a JSI Promise bridge in C++ that maps promise IDs, use the cxx + Tokio runtime to run async Rust tasks, and call back into C++ to resolve or reject the original JS Promise. Shows replacing a gRPC C++ layer, reducing nested callbacks, and avoiding memory-safety bugs via Rust’s borrow checker. Demo runs an add across languages (9 + 21 → 30), proving the pipeline works end to end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:33React native and Rust
  3. 3:58Using C++ in React Native
  4. 5:58Challenges of C++
  5. 12:40The case for Rust
  6. 14:37Integrating Rust
  7. 17:41Conclusion and demo
~/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.