Abstract
One of the main advantages of the purity that Haskell embodies is the ability to run code in parallel easily. The absence of side effects means that all data dependencies are explicit in the code. Thus, the compiler (and you) can schedule different tasks with no dependencies between them to be performed in parallel.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2014 Alejandro Serrano Mena
About this chapter
Cite this chapter
Mena, A.S. (2014). Working in Several Cores. In: Beginning Haskell. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6251-0_8
Download citation
DOI: https://doi.org/10.1007/978-1-4302-6251-0_8
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-6250-3
Online ISBN: 978-1-4302-6251-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books