Skip to Main Content
Dart in Action
book

Dart in Action

by Chris Buckett
January 2013
Beginner content levelBeginner
424 pages
13h 26m
English
Manning Publications
Content preview from Dart in Action

Chapter 15. Concurrency with isolates

This chapter covers

  • Spawning new function isolates
  • Passing messages between isolates
  • Loading Dart code dynamically
  • Using isolates for batch processing

Modern computer hardware provides more processing power than ever before, whether it’s in a server room serving thousands of requests per minute or in your pocket as a mobile phone or tablet. Rather than providing ever-increasing processor speeds, chip designers have achieved this improvement by adding more CPU cores. To take advantage of this greater processing power, web application design also needs to be able to scale out to use the additional CPU cores.

Earlier in this book, we discussed how Dart code runs in a single thread but can call out to ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Dart: Up and Running

Dart: Up and Running

Kathy Walrath, Seth Ladd
Dart: Scalable Application Development

Dart: Scalable Application Development

Davy Mitchell, Sergey Akopkokhyants, Ivo Balbaert
Web Programming with Dart

Web Programming with Dart

Moises Belchin, Patricia Juberias

Publisher Resources

ISBN: 9781617290862Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link