Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How about Haskell's GC performance for soft realtime application like games?

Tags:

Because I realized game rule logic should handle huge complexity, I'm considering using of non-typical language in game field as in-game logic script language. The reason of in-game script is representing complex logic with less code. So extremely well abstracted language required.

But most well-abstracted languages use GC. And normally the GCs make CPU burst load. Basically it defers clearing memory operation, and do it at once. Really critical to realtime graphics including games and GUI.

AFAIK, Haskell's GC is little bit different with other GC based languages cause of it's immutable attribute. It's hard to imagine. I couldn't find any document this in detail.

What's different? And is it CPU burst free for long running programs? (well distributed load over time, manual complete GC command can be called for each tick)

like image 692
eonil Avatar asked Dec 19 '10 12:12

eonil


1 Answers

You may want to look at the thread initiated by Luke Palmer here : http://www.haskell.org/pipermail/haskell-cafe/2010-February/thread.html#73881

like image 108
Alp Mestanogullari Avatar answered Oct 05 '22 06:10

Alp Mestanogullari