~/talk

Seamless Interoperability: Harnessing JNIGen and FFIGen

Talkat Droidcon London 2023 · 2023-10-26..10-27· [flutter, android]
links:none on file
name:Kendi J
links:none on file
slides:none on file

Shows concrete bridges between Flutter and native code: method and event platform channels for simple calls like battery level, a camera/AR demo that accesses native permissions, and Pigeon generates type-safe Dart + Kotlin/Swift stubs from annotated APIs so you avoid handwriting handlers. Covers Dart FFI for C libraries, FFIgen using libclang to parse headers for iOS, and JNIgen produces intermediate C bindings for Android (experimental) that call Java via JNI so existing C C++ Rust or Java code becomes callable from Dart.

AI-written summary · about

  1. 0:00Introduction and interoperability
  2. 4:44Flutter architecture overview
  3. 6:08Advantages of native APIs
  4. 8:15Platform channels explained
  5. 15:35Pigeon package introduction
  6. 19:27Limitations of method channels
  7. 20:09Foreign function interface basics
  8. 22:16FFIgen and JNIgen overview
  9. 23:42JNIgen implementation steps
  10. 27:56Choosing the right tool
  11. 29:41Conclusion and tools summary
  12. 30:45Closing and Fluttery Stars conference
~/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.