Re: [racket-users] Concurrent map / andmap / for-each

2019-04-24 Thread Dexter Santucci
  I'm aware, and that's what I intended to do. There's the excellent pmap package which uses futures, but I wanted threads for concurrency on one CPU. It works very well for launching processes and getting the returns all at once. Dex On 2019-04-24 6:09 p.m., Robby Findler wrote: Thanks for

Re: [racket-users] Concurrent map / andmap / for-each

2019-04-24 Thread Robby Findler
Thanks for working on this, but Racket's `thread` construct is not parallel (in the sense that you will not see more than one CPU active on your machine at a time with code that uses `thread`). Check out places and futures for alternatives that do support parallelism. Robby On Wed, Apr 24, 2019

[racket-users] Concurrent map / andmap / for-each

2019-04-24 Thread Dexter Santucci
Hi folks,   I made concurrent (multi-threaded) versions of map, andmap and for-each for Racket: https://github.com/DexterLagan/pmap   Because I'm a little slow and lazy, I haven't checked packages for a proper version.   If this isn't too much asking, can somebody give me some feedback?