News for hackers. Stuff that matters.
Re:Rust and Go by jacques_chester on Saturday November 08, 2014 @08:19AM (#8576777)
Have you rung up the GPU manufacturers to tell them that they're wasting everyone's time?
Re:Rust and Go by dbaupp on Saturday November 08, 2014 @07:23PM (#8578626)
The synchronisation/set-up overheads are still fairly large (e.g. communicating with the GPU). I find it rather unlikely that e.g. a map over 20 elements will be faster in parallel.
Re:Rust and Go by jacques_chester on Sunday November 09, 2014 @10:55AM (#8580100)
It might not be. But I am happy to ignore the question and leave it to the compiler or runtime to take advantage of easy parallelism. Maps allow that, loops (or any other sequential treatment of data) doesn't.

My personal brand of bigotry is relational databases, so I am accustomed to thinking of sorted / ordered behaviour as the special case. Thinking in sets is very powerful.

It doesn't have to be either/or. Sometimes you need a loop. But it would be nice to have mapping too.