Learning Concurrent Programming in Scala 2nd Edition by Aleksandar Prokopec – Ebook PDF Instant Download/Delivery: 1786462141, 9781786462145
Full download Learning Concurrent Programming in Scala 2nd Edition after payment
Product details:
ISBN 10: 1786462141
ISBN 13: 9781786462145
Author: Aleksandar Prokopec
Learning Concurrent Programming in Scala 2nd Edition: Key Features Make the most of Scala by understanding its philosophy and harnessing the power of multicores Get acquainted with cutting-edge technologies in the field of concurrency, through practical, real-world applications Get this step-by-step guide packed with pragmatic examples Book Description Scala is a modern, multiparadigm programming language designed to express common programming patterns in a concise, elegant, and type-safe way. Scala smoothly integrates the features of object-oriented and functional languages. In this second edition, you will find updated coverage of the Scala 2.12 platform. The Scala 2.12 series targets Java 8 and requires it for execution. The book starts by introducing you to the foundations of concurrent programming on the JVM, outlining the basics of the Java Memory Model, and then shows some of the classic building blocks of concurrency, such as the atomic variables, thread pools, and concurrent data structures, along with the caveats of traditional concurrency. The book then walks you through different high-level concurrency abstractions, each tailored toward a specific class of programming tasks, while touching on the latest advancements of async programming capabilities of Scala. It also covers some useful patterns and idioms to use with the techniques described. Finally, the book presents an overview of when to use which concurrency library and demonstrates how they all work together, and then presents new exciting approaches to building concurrent and distributed systems. What you will learn Get to grips with the fundamentals of concurrent programming on modern multiprocessor systems Build high-performance concurrent systems from simple, low-level concurrency primitives Express asynchrony in concurrent computations with futures and promises Seamlessly accelerate sequential programs by using data-parallel collections Design safe, scalable, and easy-to-comprehend in-memory
Learning Concurrent Programming in Scala 2nd Edition Table of contents:
1. Introduction
- Concurrent programming
- The advantages of Scala
- Preliminaries
- Overview of new features in Scala 2.12
- Summary
- Exercises
2. Concurrency on the JVM and the Java Memory Model
- Processes and threads
- Monitors and synchronization
- Volatile variables
- The Java Memory Model
- Summary
- Exercises
3. Traditional Building Blocks of Concurrency
- The Executor and ExecutionContext objects
- Atomic primitives
- Lazy values
- Concurrent collections
- Custom concurrent data structures
- Summary
- Exercises
4. Asynchronous Programming with Futures and Promises
- Futures
- Promises
- Futures and blocking
- The Scala Async library
- Alternative future frameworks
- Summary
- Exercises
5. Data-Parallel Collections
- Scala collections in a nutshell
- Using parallel collections
- Caveats with parallel collections
- Using parallel and concurrent collections together
- Implementing custom parallel collections
- Summary
- Exercises
6. Concurrent Programming with Reactive Extensions
- Creating Observable objects
- Composing Observable objects
- Rx schedulers
- Subjects and top-down reactive programming
- Summary
- Exercises
7. Software Transactional Memory
- The trouble with atomic variables
- Using Software Transactional Memory
- Composing transactions
- Retrying transactions
- Transactional collections
- Summary
- Exercises
8. Actors
- Working with actors
- Communication between actors
- Actor supervision
- Remote actors
- Summary
- Exercises
9. Concurrency in Practice
- Choosing the right tools for the job
- Putting it all together – a remote file browser
- Debugging concurrent programs
- Summary
- Exercises
10. Reactors
People also search for Learning Concurrent Programming in Scala 2nd Edition:
concurrent programming languages
learning scala from java
what is concurrent programming in java
functional programming in scala coursera
functional programming in scala specialization
functional programming principles in scala
Tags:
Aleksandar Prokopec,Learning,Concurrent,Programming,Scala