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!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Nitro Modules Origin

  • Marc Rousavy built Nitro Modules to solve limitations of Turbo Modules and Expo Modules.
  • Vision Camera's frame processing couldn't efficiently expose complex C++/Swift types to JavaScript.
INSIGHT

Swift Integration

  • Nitro Modules leverages Swift, a more modern and readable language than Objective-C.
  • It bypasses Objective-C entirely, utilizing the new Swift C++ interoperability for direct calls.
INSIGHT

Nitro's Disadvantage

  • Nitro Modules isn't Meta-blessed, requiring a rewrite of existing modules and introducing a new dependency.
  • Meta might hesitate to adopt a second native module option alongside Turbo Modules.
Get the Snipd Podcast app to discover more snips from this episode
Get the app