[Haskell-cafe] A very edgy language (was: A very nontrivial parser)

Donald Bruce Stewart dons at cse.unsw.edu.au
Sun Jul 8 03:27:17 EDT 2007


bulat.ziganshin:
> Hello Thomas,
> 
> Sunday, July 8, 2007, 2:36:43 AM, you wrote:
> > This is certainly true. I've coded up in less than six months,
> > something that uses better algorithms and finer grained concurrency
> > than the software I used to work on, and the latter represented 5 or
> > more man-years of coding. However this is server software, which is
> > long running so performance and memory usage are pretty important, and
> > these are relatively hard to get right in Haskell.
> 
> i've improved memory usage of my program 3 times one month after i've
> started to use Haskell, and 4 times more 1.5 years later (the last
> improvement included development of ByteString-alike library and
> strictifying some computations). i think that for programming-in-large
> experienced haskeller may reach C-like level of efficiency, unlike for
> programming-in-small (i.e. implementation of raw computations)

Yes, this agrees with my experience too. Programs of a certain size
become unfeasible to improve in C or C++ -- while the Haskell program
may be continually refactored and improved.

-- Don


More information about the Haskell-Cafe mailing list