React Native Radio cover image

React Native Radio

RNR 310 - Nitro with Marc Rousavy

Oct 7, 2024
In a lively chat, Marc Rousavy, an Austrian full-stack developer and CEO of Margello, dives into the world of Nitro Modules, a groundbreaking tool designed to elevate React Native's performance. He explains how its object-oriented design simplifies native module creation and compares it to Turbo and Expo Modules. The conversation also ventures into the integration of C++ with React Native using TypeScript, while humorously acknowledging community contributions with a potato pun. Insights on Swift and Kotlin integration add to the wealth of knowledge shared!
31:47

Episode guests

Podcast summary created with Snipd AI

Quick takeaways

  • Nitro Modules significantly enhance React Native by enabling efficient handling of complex native types with improved performance metrics compared to Turbo and Expo Modules.
  • The transition to Nitro for library authors is simplified through a code generator called Nitrogen, promoting an easier development experience and better inter-component interactions.

Deep dives

Introduction to Nitro Modules

Nitro Modules, developed by Mark Rusavi, enables the creation of high-performance C++, Swift, or Kotlin modules bridged to JavaScript. This approach addresses limitations associated with existing Turbo Modules and Expo Modules, particularly in handling complex C++ or Swift types via a bridge, which Turbo and Expo fail to accommodate effectively. Nitro allows developers to expose intricate native types to JavaScript, facilitating the efficient handling of large data, such as image frames in real-time processing applications. As a result, this framework enhances both the flexibility and maintainability of native modules in React Native apps.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode