RFC: Make an abstraction for custom task parallel schedulers (GSoC proposal)

Yeah, that’s related to the fancier solution I was thinking. It’d be nice to hook “splittable” PRNGs in the @spawn mechanism and make it task-local than thread-local. I mentioned it at Brew a Parallel RNG? - #5 by tkf before (see also Parallel Mersenne Twister - #15 by oschulz). Providing this via an effect system sounds like an interesting and possibly elegant solution.

1 Like