~/talk

Custom Entrypoints for Smarter Background Processing

Talkat Fluttercon USA 2025 · 2025-06-25..06-26· [concurrency]
links:none on file
links:none on file
slides:none on file

A concrete account of making a custom isolate as default to avoid a large refactor when moving a backend from REST to socket IO, including native changes: overriding app delegate/main activity, creating a cached FlutterEngine on Android, and registering plugins for headless isolates. Shows isolate APIs used (isolate.run/compute, spawn vs spawnUri), port-based messaging, and a benchmark: heavy task 3s + main 6.6s reduced total from 9.6s to 6.6s with parallel isolates. Covers protobuf serialization to replace JSON, lifecycle cleanup, and uncaught-error pitfalls.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Background processing necessity
  3. 3:12Dart isolates overview
  4. 7:28Isolate life cycle
  5. 9:13Flutter isolates launch
  6. 12:01Creating isolates
  7. 17:04Default isolate creation
  8. 23:14Advanced isolate uses
  9. 24:19Isolate pitfalls
  10. 26:05Data serialization
  11. 31:01Isolate communication
  12. 32:26Q&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.