[m-users.] Parallel execution in Mercury?

Matthias G├╝demann matthias.guedemann at googlemail.com
Fri Jan 11 23:43:56 AEDT 2019


Hi Volker,

> There are a large amount of papers on parallelism on http://mercurylang.org/
> documentation/papers.html, but I couldn't find anything in the Language
> Reference Manual, User's Guide, Library Reference Manual and the FAQ.

I wrote an article about parallelism in Mercury a while ago
http://guedemann.org/articles/Mar-17-2015.html

Maybe that is useful for you. In short, you need a parallel grade and
you use the `&` conjunction.

There is also the `thread` module in the library, but I haven't used this yet.

search for `parallel` here:

https://www.mercurylang.org/information/doc-latest/mercury_user_guide/Optional-features-compilation-model-options.html

Cheers,
Matthias


More information about the users mailing list