~/talk

Heavy lift work in Flutter get started with Isolates

Talkat DevFest Ukraine 2018 · 2018-10-12..10-13· [flutter, concurrency]
slides:none on file

Explains how to move CPU-heavy work off Flutter’s main thread using Dart Isolates, showing code that uses spawn top-level function and message passing with SendPort/ReceivePort. Demonstrates that Futures keep the UI responsive but run on one thread, while isolates run on other cores at the cost of no shared memory and serialization overhead. Measured tradeoffs: isolate startup ~150 ms and large messages double memory use, but offloading a heavy JSON crunch stops frame drops and keeps 60 fps.

AI-written summary · about

  1. 0:00Introduction to Flutter
  2. 2:19Why Flutter for cross-platform
  3. 3:38Performance challenges in Flutter
  4. 8:07Main thread and isolates basics
  5. 15:22Futures and async operations
  6. 20:06Isolates setup and entry points
  7. 26:23Memory sharing between isolates
  8. 27:56Performance tips for isolates
  9. 30:31Common pitfalls and solutions
~/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.