[Haskell-cafe] Re: Tweaking the garbage collector for realtime usage
Achim Schneider
barsoap at web.de
Thu Mar 19 05:49:24 EDT 2009
Peter Verswyvelen <bugfact at gmail.com> wrote:
> The GHC documentation lists a lot of tweaks that can be done to the
> garbage collector.
> However, Haskell spin-offs like Timber <http://www.timber-lang.org/>
> implement their own incremental garbage collector that is better
> suitable for real-time usage.
>
> Did someone already fiddle with GHC's gc flags so it works better for
> real-time applications, like games and simulations?
>
Under j2me, we just ran the gc every bleeding frame, even after paying
painstakingly much attention not to allocate anything while simulating
(virtually every vm out there seems to accumulate junk transparently),
to keep the runs small/short and framerate even.
--
(c) this sig last receiving data processing entity. Inspect headers
for copyright history. All rights reserved. Copying, hiring, renting,
performance and/or quoting of this signature prohibited.
More information about the Haskell-Cafe
mailing list