Haskell High Performance Programming

Haskell High Performance Programming

Author
Samuli Thomasson
Publisher
Packt
Language
english
Year
2016
Page
394
ISBN
978-1-78646-421-7
File Type
epub
File Size
1.6 MiB

About This BookExplore the benefits of lazy evaluation, compiler features, and tools and libraries designed for high performanceWrite fast programs at extremely high levels of abstractionWork through practical examples that will help you address the challenges of writing efficient codeWho This Book Is ForTo get the most out of this book, you need to have working knowledge of reading and writing basic Haskell. No knowledge of performance, optimization, or concurrency is required.What You Will LearnProgram idiomatic Haskell, which is also surprisingly efficientImprove performance of your code with data parallelism, inlining, and strictness annotationsProfile your programs to identify space leaks and missed opportunities for optimizationFind out how to choose the most efficient data and control structuresOptimize the Glasgow Haskell Compiler and Runtime System for specific programsSee how to smoothly drop to lower abstractions wherever necessaryExecute programming for the GPU with AccelerateImplement programming to easily scale to the cloud with Cloud HaskellIn DetailHaskell, with its power to optimize code and its high performance, is a natural candidate for high performance programming. This book addresses the challenges of writing efficient code with lazy evaluation and techniques often used to optimize the performance of Haskell programs.We open with a detailed look at the evaluation of Haskell expressions and discuss optimization and benchmarking. You will learn how to use parallelism, and we'll explore the concept of streaming. We'll demonstrate the benefits of running multi-threaded and concurrent applications. Next, we'll guide you through various profiling tools that will help you identify performance issues in your program. We'll end our journey by looking at GPGPU, cloud, and Functional Reactive Programming in Haskell. At the very end, there is a catalogue of robust library recommendations with code samples.By the end of the book, you will be able to boost the performance of any app and prepare it to stand up to real-world punishment.

show more...

How to Download?!!!

Just click on START button on Telegram Bot

Free Download Book