I’m getting a bit tired of having to code explicitly for multicore if I want more speed, particularly when I’m just writing a one-off script. My dev box already has 8 cores and that number is going up a lot faster than the clock speed. Functional languages seem to offer a potential escape hatch, but I haven’t put in the effort to master one of them yet.
I’d love to see some sample chunks of real-world code that are much better and/or more parallelizable than non-functional alternatives. I’m not picky about the language — I’m more interested in the concepts.
Thanks!
This (long, but very good) video gives both an intro to F# and a compelling demo of how easy it is to parallelize code in the language:
http://channel9.msdn.com/pdc2008/TL11/