[m-users.] parallelism and STM

Matthias G├╝demann matthias.guedemann at googlemail.com
Sat May 30 21:15:19 AEST 2015


my goal is to write a program that uses parallelism to increase
performance. As for shared variables, there is a list of tasks to do and
a list of results.

Is STM a good choice for this in Mercury? The number of tasks is rather
low and the treatment of the tasks will takes time. If yes, is
stm_builtin the current implementation? I saw a thread on m-users from
2011 where another, apparently better, stm implementation was proposed.

best regards,

More information about the users mailing list