September 2019
Beginner
512 pages
12h 52m
English
So, you may have been wondering, how can you execute truly parallel code and improve performance and responsiveness? Dart Isolates are here for this. Every Dart application is composed of at least one Isolate instance, the main Isolate instance, where all of the application code runs. So, to create a parallel execution code, we must create a new Isolate instance that can run in parallel with main Isolate:

Isolates can be considered to be a sort of a thread, but they do not share anything between each other, as the name suggests. This means that they do not share memory, so we do not need to use locks and other thread synchronization ...
Read now
Unlock full access