Skip to content
0:00 / 0:00

#dartffi#flutter#rust

Maximize Speed with Dart FFI: Beginner’s Guide to High-Performance Integration | Flutter Heroes 2024

Flutter Heroes

5.7K subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Matteo Maria Terzuolo

Intermediate. Assumes working knowledge.

27K views1 year ago2 recommendations

Systems programmingMobile developmentPerformance and optimizationFlutter and React Native

Matteo Maria Terzuolo explains how to use Dart FFI to integrate C and Rust code into Flutter applications for high performance.

🎟️ 2025 Edition 12 March, Turin: flutterheroes.com/2025/tickets-2/ ⏩ Chapter: Intro What is FFI? Why should I use FFI with Flutter? Project setup - C Plugin Rust Plugin Extra step for MacOS/iOS LIVE DEMO Solution Dart is a versatile language that can be used to build a wide range of applications. However, sometimes you need the performance of another language, such as C or Rust, for certain tasks. That's where Dart FFI comes in. Dart FFI allows you to call functions written in other languages directly from your Dart code. This can be a great way to boost the performance of your Dart application for specific tasks, such as image processing, numerical computing, or machine learning. With that said, it's important to ask yourself: Is FFI always the best way to boost performance? In this talk, we will discuss the benefits and challenges of using Dart FFI. We will also explore some alternative ways to improve the performance of your Dart application. 🎤 MATTEO MARIA TERZUOLO, Senior Flutter Engineer 📍Flutter Heroes was hosted in Turin, in February. Attended by 220+ participants and broadcast to an additional 150+ participants across the globe. 📌 For more engaging content and expert insights, subscribe to our channel and hit the notification bell. 🛎️ Info: flutterheroes.com/ ✅ Tweet: twitter.com/flutterheroes ✅ Connect: linkedin.com/showcase/flutter-heroes ✅ Read: t.me/flutterDev #Flutter #FlutterHeroes #FlutterApp #DartFFI #HighPerformance #MobileDevelopment #RustIntegration #CPIntegration #AppOptimization #DevConference #FlutterHeroes #TechTalk

Why it's here

2 people recommend this

What people say. Recommended as an insightful guide on using Dart FFI for high-performance tasks like image processing.

Moments people linked to

u/EgoSumJoein r/FlutterDev • Recommends

On “High-performance Image Processing in Dart? Yes.”

Here is the talk in English link to this video Very insightful guide about using ffi!

u/Bachihaniin r/FlutterDev • Recommends

On “What do you key in on to ensure app performance?”

Well it's not about memory consumption, but process speed itself i think this explains it well.
1View on Reddit