Concurrency
Dart code is always single threaded. There is no shared-state concurrency in Dart. Concurrency is supported via actor-like entities called isolates.
An isolate is a unit of concurrency. It has its own memory and its own thread of control. Isolates communicate by message passing. No mutable state is ever shared between isolates. Isolates are created by spawning.
So this was directly from dartlang spec 0.07
Kirjoitan tästä aiheesta tähän postaukseen vielä lisää. Tarkempi analysointi vie hieman aikaa, nyt kerään materiaalia muista aiheista...
Ei kommentteja:
Lähetä kommentti