O'Reilly logo

Web Programming with Dart by Patricia Juberias, Moises Belchin

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 22

image

Leveraging Isolates for Concurrency and Multi-Processing

In this chapter we’ll cover what isolates are and how you can use them—along with concurrency and multi-processing—to run your Dart programs. We’ll learn everything about isolates through two simple examples so that you will know how to use multi-processing in your programs. Dart also lets you work concurrently and use all multi-processing capabilities, thanks to the multi-core in our modern computers.

In other programming languages this is known as threads. The difference between the threads in other languages and the Dart isolates is that the latter do not share memory; each ...

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