Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  Parallel Processing in Libraries? (Akhra Gannon)


----------------------------------------------------------------------

Message: 1
Date: Thu, 16 Jan 2020 12:43:10 -0800
From: Akhra Gannon <tan...@gmail.com>
To: Leonhard Applis <leonhard.app...@protonmail.com>,  The
        Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <beginners@haskell.org>
Subject: Re: [Haskell-beginners] Parallel Processing in Libraries?
Message-ID:
        <CAJoPsuBttfGoLJRX0x+kaUSQYbRM2z1HBKOgB51WL3OV=he...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

If you're looking for existing concurrency libraries, I would start here
and explore backwards through the dependencies if you need a lower-level
API:

https://hackage.haskell.org/package/lifted-async-0.10.0.4/docs/Control-Concurrent-Async-Lifted.html

On Thu, Jan 16, 2020, 2:16 AM Leonhard Applis <
leonhard.app...@protonmail.com> wrote:

> 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
> _______________________________________________
> Beginners mailing list
> Beginners@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.haskell.org/pipermail/beginners/attachments/20200116/ce790969/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 139, Issue 6
*****************************************

Reply via email to