~/talk

A Deep Dive into Dart FFI

Talkat Fluttercon USA 2024 · 2024-09-19..09-20· [compilers-and-language-design, rust]
links:none on file
slides:none on file

A Flutter app called IMA integrates legacy C++ (OpenCV, custom inference engine) via Dart FFI using generated bindings (FFI gen), shared libraries and explicit use of dart_post_cobject, receive/send ports and newer native callables (Dart 3.1+) to avoid UI blocking. The pipeline streams ultrasound images into background isolates, runs C++ inference threads, and posts typed data back to Dart; pilots in Kenya and India report successful deployments and the project secured a $15 million grant.

AI-written summary · about

  1. 0:00Fluttercon USA intro
  2. 1:04Dart FFI in healthcare
  3. 6:23Dart interoperability now
  4. 10:40Bridging Dart and C++
  5. 14:16Native-Dart architecture
  6. 17:23Three FFI communication ways
  7. 22:00Shared libraries for FFI
  8. 24:25Manual FFI bindings
  9. 27:34Async Dart-C++ ports
  10. 33:32Async callbacks in FFI
  11. 35:40Native callables for FFI
  12. 39:16FFI implementation tips
  13. 41:24FFI future with other languages
  14. 42:49Resources and closing
~/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.