~/talk

Parallel Beauty - with Isolates into the Mandelbrot set

Talkat Flutter Vikings 2022 · 2022-08-31..09-01· [flutter, web-performance]
links:none on file
slides:none on file

Dart code splits Mandelbrot rendering into multiple Isolates, using spawn, send/receive ports and transferable data to move large Uint32 image buffers without copying. A pool of isolates tracks available isolates and a waiting queue; each tile request carries a request ID and completes a stored Completer when its tile returns. Render time drops as isolates scale to core count (about eight cores hits the sweet spot) and per-tile pooling avoids repeated isolate creation.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:35Dart isolates vs threading
  3. 5:26Isolate communication basics
  4. 8:37Isolate creation and limitations
  5. 13:31Mandelbrot set demo start
  6. 15:18Parallel rendering with isolates
  7. 19:50Render manager implementation
  8. 24:56Handling isolate results
  9. 27:46Q&A and conclusion
~/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.