4 ms·
I'm currently looking for an article from a professor or a haskell developer (can't remember which) discussing the difference between parallelism and concurrenc
by chamakits 15y ago
I'm currently looking for an article from a professor or a haskell developer (can't remember which) discussing the difference between parallelism and concurrency. Can't find it, but I'll post these for now:
http://www.danielmoth.com/Blog/threadingconcurrency-vs-parallelism.aspx http://www.danielmoth.com/Blog/threadingconcurrency-vs-paral...
Its a worthy read and may change your mind at least a bit. Though overall, I agree that not all developers benefit from learning functional programming languages as the ones specified, I truly believe that most developers would benefit greatly. Anyway, if I find the article I'm telling you about i'll post it as well.
EDIT: I believe this was it:
http://ghcmutterings.wordpress.com/2009/10/06/parallelism-concurrency/ http://ghcmutterings.wordpress.com/2009/10/06/parallelism-co...
EDIT 2:
I also believe that most of these languages actually promise more. For example, one of the biggest promises Haskell gives is no side effects. Though this does have a mayor implications for concurrency/parallelism it also (in my opinion) provides safer, cleaner and easier to maintain code. (It does take a memory hit, I'll admit to that, but I personally prefer that safety). Erlang's biggest promise I believe is its fault tolerance. And over all, I honestly believe that functional programming puts you in a different mindset and once you get used to it (I'm still learning, but even then I find it mind opening) you see things clearer. But when it comes down to it, its impossible to be objective about this. However, I will objectively say, everyone should try at least one functional language, just to give you a different view of things :D .
- sigil 15y agoI thought you were referring to this one: http://existentialtype.wordpress.com/2011/03/17/parallelism-is-not-concurrency/ http://existentialtype.wordpress.com/2011/03/17/parallelism-...
- chamakits 15y ago...though I wasn't....I will read...tomorrow.....Jejejej, thanks though :D
- gtani 15y agohttp://www.tbray.org/ongoing/When/200x/2009/10/07/C-dot-next-concurrency-vs-parallelism http://www.tbray.org/ongoing/When/200x/2009/10/07/C-dot-next... (thread on ghcmutterings post) http://news.ycombinator.com/item?id=2457307 http://news.ycombinator.com/item?id=2457307
- bitdiddle 15y agoabsolutely! A strong component of FP is getting programs right, and forcing the explicit management of state is critical to that. Of course that makes FP a lot harder also, Haskell was not so pretty before the emergence of monads.