Futures – Isolates – Event Loop – Didier Boelens

Like any programming language, Dart has some internal twists and turns that the average developer might not pick up in the first few lines of codes. For example, if we want some parallel code execution we might want to start a new thread but… Dart doesn’t support them. So in that case, what happens if we call two Futures at the same time? And if there are no threads, how can we have resource-intensive operations such as generating RSA asymmetric keys, without blocking the UI?
To answer these questions, Didier Boelens dives into Isolates, Futures and the Event loop in Dart, highlighting some important features that help us optimise our apps.

Flutter – Futures – Isolates – Event Loop

Leave a Comment