[Haskell-beginners] Parallel Processing in Libraries?
Leonhard Applis
Leonhard.Applis at protonmail.com
Thu Jan 16 10:15:32 UTC 2020
Hi,
I'm starting to dip into Parallel Processing with Haskell while reading "Parallel and Concurrent Programming in Haskell".
All the Examples in the Book construct a program which is doing all the work, so with all files in the same program which has a main method.
I'd like to have a library which utilized parallel programming (mostly for map-reduce tasks).
Is this possible?
My first approach of putting the par-code in my library and running the program threaded does not seem to use multiple cores.
Also I have not seen any parallel programming in "popular" libraries (such as QuickCheck) which makes me think that I'm on the wrong path.
To summarize my goal:
I want to build a computation-intensive library, which utilizes multiple cores when used from an executable.
Thank you
Leonhard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20200116/5b25a37c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - Leonhard.Applis at protonmail.com - 0x807FDDF3.asc
Type: application/pgp-keys
Size: 1843 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20200116/5b25a37c/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 477 bytes
Desc: OpenPGP digital signature
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20200116/5b25a37c/attachment.sig>
More information about the Beginners
mailing list