[Haskell-cafe] Real-time garbage collection for Haskell

Henning Thielemann lemming at henning-thielemann.de
Mon Mar 1 13:12:42 EST 2010


On Sat, 27 Feb 2010, Luke Palmer wrote:

> I have seen some proposals around here for SoC projects and other
> things to try to improve the latency of GHC's garbage collector.  I'm
> currently developing a game in Haskell, and even 100ms pauses are
> unacceptable for a real-time game.  I'm calling out to people who have
> seen or made such proposals, because I would be willing to contribute
> funding and/or mentor a project that would contribute to this goal.
> Also any ideas for reducing this latency in other ways would be very
> appreciated.

In my experiments with real-time audio signal processing I could always 
find a culprit for buffer-underflows other than the garbage collector. 
Sometimes it was a space leak (e.g. by adding a finalizer to the wrong 
object), sometimes incorrect handling of time differences, and when 
working with LLVM it was frequent recompilation of LLVM code.


More information about the Haskell-Cafe mailing list