Hacker News new | past | comments | ask | show | jobs | submit login
Clojure, Parallelism, and Genetic Algorithms (ethanjfast.com)
36 points by unignorant on Oct 7, 2009 | hide | past | favorite | 2 comments



This isn't surprising, the simplicity of the problem does not exceed the overhead of parallelism. A task like that is actually quite rare in practice, but easy to stumble upon when doing demo or example code.

Even with Erlang I don't expect much improvement, when what you're solving is trivial for a single core, adding more cores and processes does not help.


Yes, mainly because pmap is an early demo of how one could do parallelism in Clojure. It remains useful for mapping very heavyweight functions across relatively small data sets. It is not a substitute for Fork/Join, which is on the way.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: