Parallel: "Ruby for parallel"

Forum for anything not suitable for the other forums.

Parallel: "Ruby for parallel"

Postby aolofsson » Sat Jun 29, 2013 3:35 pm

Here's an promising Ruby based project for parallel processing. Lots of contributors and still active.

https://github.com/grosser/parallel

From the project README: "Run any code in parallel Processes(> use all CPUs) or Threads(> speedup blocking operations).
Best suited for map-reduce or e.g. parallel downloads/uploads."

Andreas
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: Parallel: "Ruby for parallel"

Postby undecided » Mon Jul 15, 2013 2:40 pm

Certainly looks interesting. It seems to give a consistent interface to parallelizing list operations using either Threading or Forking, in the latter case keeping forks alive and marshalling objects to them for speed. I'm not sure how this would translate to the Parallella, certainly I guess a simple fork won't cut it and I'm under the impression that the daughter cores would not have enough resources to run their own Ruby VM. A bit of shoehorning, and maybe some mRuby love, it might at least make a useful starting point!
User avatar
undecided
 
Posts: 6
Joined: Mon Dec 17, 2012 3:25 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests