Skip to content

Opening book details…

Can I read Parallel and Concurrent Programming in Haskell on EtoBox?

Parallel and Concurrent Programming in Haskell by Simon Marlow is a book available to read on EtoBox.

What is Parallel and Concurrent Programming in Haskell about?

Copyright 4 Table of Contents 5 Preface 11 Audience 12 How to Read This Book 12 Conventions Used in This Book 13 Using Sample Code 14 Safari® Books Online 14 How to Contact Us 15 Acknowledgments 15 Chapter 1. Introduction 17 Terminology: Parallelism and Concurrency 18 Tools and Resources 19 Sample Code 20 Part I. Parallel Haskell 21 Chapter 2. Basic Parallelism: The Eval Monad 25 Lazy Evaluation and Weak Head Normal Form 25 The Eval Monad, rpar, and rseq 31 Example: Parallelizing a Sudoku Solver 35 Deepseq 45 Chapter 3. Evaluation Strategies 47 Parameterized Strategies 48 A Strategy for Evaluating a List in Parallel 50 Example: The K-Means Problem 51 Parallelizing K-Means 56 Performance and Analysis 58 Visualizing Spark Activity 62 Granularity 63 GC’d Sparks and Speculative Parallelism 64 Parallelizing Lazy Streams with parBuffer 67 Chunking Strategies 70 The Identity Property 71 Chapter 4. Dataflow Parallelism: The Par Monad 73 Example: Shortest Paths in a Graph 77 Pipeline Parallelism 81 Rate-Limiting the Producer 84 Limitations of Pipeline Parallelism 85 Example: A Conference Timetable 86 Adding Parallelism 90 Example: A Parallel Type Inferencer 93 Using Different Schedulers 98

Author
Simon Marlow
Language
EN

More by Simon Marlow

Browse all works by Simon Marlow

Similar books