I would suggest you check this page: [10 Nim One Liners to Impress Your 
Friends](https://blog.ubergarm.com/blog/archive/archive-ten-nim-one-liners.md), 
and also, check my own implementation of a parallel map with some improvements 
here: 
[pmap](https://github.com/niofis/light/blob/master/nim/src/lightpkg/pmap.nim), 
which uses spawn and divides the work into as many blocks as processors are 
available.

Reply via email to