r/programming • • Mar 14 '09

Hello Haskell, Goodbye Lisp

http://www.newartisans.com/2009/03/hello-haskell-goodbye-lisp.html
44 Upvotes

80 comments sorted by

View all comments

Show parent comment

1

u/dons Mar 15 '09

It's unclear if he means that with par the runtime will work out when and where to run his expressions (in parallel), or whether he's assuming the compiler is inserting par for him.

2

u/DRMacIver Mar 15 '09

No it's not.

If then I do something in my function which needs some of those values, Haskell can start computing the ones it needs in parallel, waiting on the completion of the whole set before returning the final result. This is a decision the language itself can make, as a by-product of its design.