Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: Memory usage prediction (Kim-Ee Yeoh)
2. Re: Memory usage prediction (Kim-Ee Yeoh)
----------------------------------------------------------------------
Message: 1
Date: Thu, 4 Jul 2013 16:01:27 +0700
From: Kim-Ee Yeoh <[email protected]>
Subject: Re: [Haskell-beginners] Memory usage prediction
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Message-ID:
<capy+zdtztm12m1s6v8nc-w+owkrgm4g+vfh8o0drz44hbq3...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
On Thu, Jul 4, 2013 at 2:20 AM, Patrick Mylund Nielsen <
[email protected]> wrote:
> The longer answer is "kind of" -- you can't exactly intuit it, but the
> profiler is easy to use:
>
Worth mentioning is that GHC's profiling tools are predicated on a
knowledge of graph reduction [1].
[1] To get a leg up on graph reduction, I recommend SPJ and PJ/L's
Implementing and Implementation texts: first two links on:
http://research.microsoft.com/en-us/um/people/simonpj/Papers/papers.html
-- Kim-Ee
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20130704/05aaf311/attachment-0001.htm>
------------------------------
Message: 2
Date: Thu, 4 Jul 2013 16:15:17 +0700
From: Kim-Ee Yeoh <[email protected]>
Subject: Re: [Haskell-beginners] Memory usage prediction
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Message-ID:
<CAPY+ZdQsFq=oqchfyltdadhsvwad7s4zbteoaapee+2htje...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
On Thu, Jul 4, 2013 at 2:31 AM, Emanuel Koczwara
<[email protected]>wrote:
> So, I will put it this way: is there a chance, that I will be
> able to predict performance after some time of profiling my code?
>
The advance that purely functional languages offers is the availing of
hitherto unknown, extremely powerful optimizations. Small changes at the
level of Haskell source can lead to massive, often unexpected changes in
runtime performance. Newcomers often find the "discontinuous" experience
disconcerting (and that's not even counting encounters with the type
checker).
The good news is that once Haskell source gets blender'd into Core,
performance becomes far more predictable. Hence, those who care about every
last drop of time/space usage read Core and put work into making it more
readable.
-- Kim-Ee
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20130704/283a3f1a/attachment-0001.htm>
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 61, Issue 7
****************************************