~/talk

The past, present, and future of native interop

Talkat Fluttercon Europe 2024 · 2024-07-03..07-05· [flutter, android]
links:none on file
slides:none on file

Roadmap from platform channels to a future where importing a native library just works, showing concrete tools: Pigeon, FFIgen and JNIgen, and a proposal for build hooks and link hooks that compile per-target static libs and run the native linker to strip unused native code. Demonstrations include async platform-channel races (get/set volume), synchronous FFI calls removing that race, a run-on-platform-thread shim, native hot-restart and multi-language debugging as next challenges.

AI-written summary · about

  1. 0:00Dart native interop vision
  2. 1:48Evolution of Dart’s native tools
  3. 4:58Platform channels limitations
  4. 8:05Pigeon for safer native calls
  5. 15:10Dart FFI and JNI gen
  6. 20:51Threading in native interop
  7. 23:37Bundling native code challenges
  8. 25:45Native assets for builds
  9. 30:41Optimizing native code size
  10. 33:06Hot reload and concurrency ideas
  11. 35:36Debugging multi-language interop
  12. 37:23Seamless native imports
  13. 38:05Q&A
~/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.