[Haskell-cafe] [Haskell-beginners] Re: Is Haskell for me?

Felipe Lessa felipe.lessa at gmail.com
Sat Nov 7 04:31:18 EST 2009


Sorry for not sending to the list.

----- Forwarded message from Felipe Lessa <felipe.lessa at gmail.com> -----

On Fri, Nov 06, 2009 at 07:58:30PM -0200, Felipe Lessa wrote:
> On 11/6/09, Gaius Hammond <gaius at gaius.org.uk> wrote:
> > To be fair, Python offloads its heavy lifting to C libraries - NumPy
> > and SciPy run at very close to full C speed on large datasets. This is
> > also how Matlab works. Unladen Swallow is an upcoming JIT compiler for
> > Python.
> >
> > Where Haskell shines for computation is when you can leverage lazy
> > evaluation.
>
> *If* you can offload most of your work to SciPy. Depending on what you
> do this is at least difficult. I don't know how much of a neural
> network can be represented as big fat matrix :).

I would also like to add that Haskell shines for parallel
computation, being easy and rewarding to use multiple cores or
processors in a SMP machine.  Parallel computing in Python is at
least ugly because you need to use multiple processes, while the
same task in C++ needs to be dealt with manually using
concurrency.

--
Felipe.

----- End forwarded message -----


More information about the Haskell-Cafe mailing list