Haskell High Performance Programming - download pdf or read online

By Samuli Thomasson

Key Features

  • Explore the advantages of lazy assessment, compiler good points, and instruments and libraries designed for top performance
  • Write speedy courses at tremendous excessive degrees of abstraction
  • Work via sensible examples to help you handle the demanding situations of writing effective code

Book Description

Haskell, with its energy to optimize the code and its excessive functionality, is a typical candidate for prime functionality programming. it really is in particular compatible to stacking abstractions excessive with a comparatively low functionality price. This e-book addresses the demanding situations of writing effective code with lazy overview and strategies usually used to optimize the functionality of Haskell programs.

We open with an in-depth examine the review of Haskell expressions and speak about optimization and benchmarking. you are going to learn how to use parallelism and we are going to discover the idea that of streaming. we are going to reveal some great benefits of working multithreaded and concurrent purposes. subsequent we will consultant you thru a variety of profiling instruments to help you determine functionality matters on your application. we will finish our trip by means of GPGPU, Cloud and practical Reactive Programming in Haskell. on the very finish there's a catalogue of strong library concepts with code samples.

By the top of the publication, it is possible for you to to spice up the functionality of any app and get ready it to face as much as real-world punishment.

What you are going to learn

  • Program idiomatic Haskell that is additionally strangely efficient
  • Improve functionality of your code with info parallelism, inlining, and strictness annotations
  • Profile your courses to spot house leaks and neglected possibilities for optimization
  • Find out how one can decide on the most productive info and regulate structures
  • Optimize the Glasgow Haskell Compiler and runtime procedure for particular programs
  • See the way to easily drop to reduce abstractions at any place necessary
  • Execute programming for the GPU with Accelerate
  • Implement programming to simply scale to the cloud with Cloud Haskell

About the Author

Samuli Thomasson is a long-time practical programming fanatic from Finland who has used Haskell greatly, either as a hobby and commercially, for over 4 years. He enjoys operating with nice instruments that assist in getting issues performed great and fast.

His present activity at RELEX options includes offering technical suggestions to a number of sensible difficulties. in addition to sensible programming, Samuli is attracted to disbursed platforms, which he additionally reports on the collage of Helsinki.

Table of Contents

  1. Identifying Bottlenecks
  2. Choosing the right kind information Structures
  3. Profile and Benchmark for your Heart's Content
  4. The Devil's within the Detail
  5. Parallelize for Performance
  6. I/O and Streaming
  7. Concurrency and Performance
  8. Tweaking the Compiler and Runtime method (GHC)
  9. GHC Internals and Code Generation
  10. Foreign functionality Interface
  11. Programming for the GPU with Accelerate
  12. Scaling to the Cloud with Cloud Haskell
  13. Functional Reactive Programming
  14. Library Recommendations

Show description

Read or Download Haskell High Performance Programming PDF

Best java programming books

Read e-book online Practical JIRA Plugins: Using JIRA Effectively: Custom PDF

One benefit of utilizing JIRA for factor monitoring, trojan horse monitoring, or undertaking administration is the facility to increase this software with thousands of plugins from the JIRA neighborhood. during this concise e-book, software program toolsmith Matt Doar—the writer of useful JIRA Administration—shows you the way to create and retain your individual JIRA plugins to fulfill the categorical wishes of a undertaking.

New PDF release: Image Processing with ImageJ

In DetailDigital snapshot processing is an more and more vital box throughout an unlimited array of clinical disciplines. ImageJ’s lengthy heritage and ever-growing consumer base makes it an ideal candidate for fixing day-by-day projects concerning all types of snapshot research methods. snapshot Processing with ImageJ is a realistic booklet that would advisor you from the main easy research strategies to the bits and bobs of enforcing new functionalities in the course of the ImageJ plugin method, it all by using examples and sensible instances.

Getting started with Spring Framework, Second Edition - download pdf or read online

Getting began with Spring Framework, 3rd version is now to be had. Getting began with Spring Framework, moment variation comprises new chapters on Spring internet MVC, RESTful net prone and Spring defense. This publication is intended for Java builders with very little wisdom of Spring Framework. the entire examples proven during this booklet use Spring four.

Download PDF by Julio Sanchez,Maria P. Canton: Java Programming for Engineers (Mechanical Engineering)

Whereas educating Java programming at Minnesota kingdom collage, the authors spotted that engineering scholars have been enrolling in Java programming classes for you to receive simple programming abilities, yet there have been no Java books appropriate for classes meant for engineers. They discovered the necessity for a complete Java programming educational that provides simple programming talents that may be utilized within the box of engineering.

Additional info for Haskell High Performance Programming

Sample text

Download PDF sample

Haskell High Performance Programming by Samuli Thomasson


by Richard
4.4

Rated 4.67 of 5 – based on 45 votes