[Haskell-beginners] Lazy vs Strict ponderings...

Henk-Jan van Tuyl hjgtuyl at chello.nl
Sat Mar 19 22:56:51 CET 2011


On Sat, 19 Mar 2011 12:50:18 +0100, Heinrich Apfelmus  
<apfelmus at quantentunnel.de> wrote:

> 2) Don't worry about memory leaks until they actually appear. If they  
> do, use a profiling tool to find out what's going on. Most likely, one  
> of the two things above happened in an interesting way.

It is likely that, if you develop a medium to large sized application for  
a customer, memory leaks will appear at the customers site. It will often  
be very difficult to reproduce the situation and find the leak. If you  
want to produce quality software, it is best to be sure what you are doing  
during the whole development process. There should be a set of guidelines,  
on how to prevent space leaks.

See also "On the reliability of programs",  
http://www.cs.utexas.edu/users/EWD/transcriptions/EWD03xx/EWD303.html

Regards,
Henk-Jan van Tuyl


-- 
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
--



More information about the Beginners mailing list