How To Integrate Rust Into A React Native App - Varun Dhananjaya - RNL - August 2023

Ғылым және технология

Varun Dhananjaya - Developer at Comm - How To Integrate Rust Into A React Native App
Varun from Comm Technologies shares insights about using multiple languages in their encrypted messaging app and explores the need for Rust in their tech stack. He discusses the pros and cons of using C++ in their React Native app, highlighting challenges like callback complexity, library integration pains, and lack of memory safety.
He elaborates on how Rust addresses these challenges by leveraging async await syntax, efficient dependency management with Cargo, and the strong memory safety features that Rust offers. Varun also demonstrates how to call Rust from C++ and integrate it into a React Native app using JSI, showcasing a live coding demo.
To try out the demo and explore more about integrating Rust into their tech stack, watch the video and find additional resources in the description below. If you're interested in encrypted messaging apps and tech discussions, make sure to subscribe and stay tuned for more insightful content!
[00:00:00] Intro
[00:00:47] An encrypted messaging app
[00:02:55] C++ Pros & Cons
[00:05:22] Callbacks
[00:06:23] Library Integration
[00:07:21] Memory Safety
[00:08:22] JSI in React Native
[00:09:05] Rust
[00:10:25] Call Rust from C++
[00:11:26] Write a callback
[00:11:51] Rust Implementation
[00:13:31] Demo
[00:19:19] Q&A
_________________________________________________________________
About Pusher Sessions:
We're bringing the meetup to you. With Sessions, you can watch recordings of top-notch talks from developer meetups -- wherever and whenever you want.
Meetups are a great way to learn from our peers and to keep up with the latest trends and technologies. As developers ourselves, we at Pusher wanted to bring this great content to more people... So we built Sessions. On Sessions, you can watch talks that interest you and subscribe to be notified when new content gets added.
If you run a meetup and want to get involved, kindly get in touch.
_________________________________________________________________
About Pusher:
Pusher is a hosted service with APIs, developer tools and open source libraries that greatly simplify integrating real-time functionality into web and mobile applications.
Pusher will automatically scale when required, removing all the pain of setting up and maintaining a secure, real-time infrastructure.
Pusher is already trusted to do so by thousands of developers and companies like GitHub, MailChimp, the Financial Times, Buffer and many more.
Getting started takes just a few seconds: simply go to pusher.com and create a free account. Happy hacking!

Пікірлер

    Келесі