Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

Pedestal Client from Cognitect did this - see https://github.com/pedestal/app-tutorial/wiki/Parallel-Proce... and my notes at http://pchristensen.com/blog/articles/pedestal-tutorial-part... (under "Parallel Processing").

Too bad they stopped working on it.



sort by: page size:

I agree, this would be good. Intel's ParallelAccelerator.jl [1] is making some progress in this area.

[1] http://julialang.org/blog/2016/03/parallelaccelerator


I second that.. also check ms research parallel task library, very cool stuff.

Here's a primer video

http://channel9.msdn.com/Showpost.aspx?postid=384229


Your parallel computing approach sounds intriguing! Could you provide an example script? I would like to look into this. If you like you could open an issue as a feature request and provide a code snipped there.

Here's a crazy idea:

Cognitect creates a massively parallel CPU which fully demonstrates the power of parallel programming via Clojure.

ClojureMachines.com


Wasn't aware of that one and it looks very promising, thank you. Does it work with `parallel`? Or does it have a similar built-in facility itself?


Definitely THAT can be parallelized. Just play the field!


You can set up parallelism manually, yes.

In the blog post you linked, a library for parallelism is used.


I suggest you also take a look at Parallel Programming: Concepts and Practice by Bertil Schmidt et al.

What was it that you tried to achieve? I find it very easy for trivial parallelisation over files but am quickly lost when it becomes more complex.

Yes, I have used them heavily and just like any other tool you need to know when to use it. You fully misunderstand my statement, and that is probably my fault for being succinct. I wasn't saying that parallelism is the one-all solution, but rather I wouldn't shrug the research off as fallacy when they have a history of delivering.

Consider Julia. It has parallel processing built in, and uses MPI under the hood.

Never knew about this, thanks! I'll definitely try it because `parallel` has bitten me before in a few more advanced cases. It has rough edges here and there.

Yes! Thank you! Have you done any parallel programming?

I'd hope they'd also first think of:

(reduce #'+ list-of-numbers)

Then using a library like lparallel [1], you can convert it to the parallel version easily:

(preduce '+ list-of-numbers)

[1] http://lparallel.org/preduce/


yes I'd be interested to see that too. I mean, ultimately, a unified method for cross browser parallel computing should only be a matter of time right?
next

Legal | privacy