Actors in Scala
Recent trends in computer architecture make concurrency and parallelism an essential ingredient of efficient program execution. The actor model of concurrency allows you to express real-world concurrency in a natural way using concurrent processes that communicate via asynchronous messages.
Scala is a programming language for the Java virtual machine, providing excellent support for both object-oriented and functional programming. By including a powerful actor framework in its standard library, Scala offers a compelling approach to tackle concurrent programming. Scala’s actors let you apply the actor concurrency model to the JVM, enabling real-world solutions that are efficient, scalable, and robust.
Published by Artima, this is the first book on Scala’s actors, co-authored by the creator and lead maintainer, Philipp Haller, and Frank Sommers. Starting with the fundamentals of the actor concurrency model, this book offers a comprehensive tutorial on practical programming with actors in Scala. It enables you to leverage the full power of today’s and tomorrow’s multi-core processors by describing both basic and advanced features of Scala’s actor framework in-depth.
Table of Contents
Chapter 1. Concurrency Everywhere
Chapter 2. Messages All the Way Up
Chapter 3. Scala’s Language Support for Actors
Chapter 4. Actor Chat
Chapter 5. Event-Based Programming
Chapter 6. Exceptions, Actor Termination, and Shutdown
Chapter 7. Customizing Actor Execution
Chapter 8. Remote Actors
Chapter 9. Distributed and Parallel Computing
Chapter 10. Akka Actors
Chapter 11. API Overview
- Publisher: Artima Inc (January 2012)
- Language: English
- ISBN-10: 0981531652
- ISBN-13: 978-0981531656