O'Reilly logo

Dart for Absolute Beginners by David Kopec

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 14

image

Concurrency

Concurrency, which roughly means doing more than one thing at the same time, is among the most difficult topics in software development. In this chapter, we first discuss the importance of parallelism. Then we look into a basic mechanism for asynchronous code in Dart—Futures. Finally, the majority of the chapter will be spent on Dart’s Isolates, a tool for doing work in parallel. The aim is to present simple, practical means of incorporating concurrency into your code, rather than delving into the nitty-gritty of this complex topic.

The Hardware Impetus for Parallelism

As recently as a decade ago, most microprocessors could ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required