~/talk

Python & Flutter: can birds and snakes really be friends?

Talkat PyCon Italia 2025 · 2025-05-28..05-31· [python, flutter]
links:none on file
slides:none on file

Attempts combine Flutter and Python using Python FFI, pybind11 and build tools show a concrete result: a simple square function called from Flutter via a compiled dynamic library works on macOS after bundling the .so and .py as assets and copying them at runtime, but it requires absolute paths, produces huge autogenerated C (≈6k lines for one function), fails to bundle interpreter or .py files for iOS, and is brittle and not production ready; native assets looks promising but currently can’t bundle Python files.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:31Python FFI package attempt
  3. 5:11Setup tools and Pybind11 approach
  4. 9:52Exploring Flutter and Flat
  5. 11:44Native assets limitations
  6. 13:58Final working solution with assets
  7. 22:45Q&A and summary
~/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.