|
|
|
|
|
by joegaudet
5829 days ago
|
|
I find the assertion that the ONLY way to program for multiple cores or concurrency is to use functional programming annoying. It seems to be the default fall back of functional evangelists, as if there were no other way in the world to solve concurrency. I recently took a course on concurrent programming, and the from what I learned, some problems are easier to deal with in erlang or something similar. But then again some aren't. And a lot of the time, they run an order of magnitude slower (though as my prof would say, correctness is sometimes more valuable than speed). And granted my Erlang program for matrix multiplication was very concise. My MPI implementation ran WAY faster. It seems to me, there are two schools of thought, and you can live in one, the other, or both. Certainly there are things to be learned in either. I think all one can take away from articles like this is that it's good to keep learning. |
|