lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Thu, Aug 22, 2002 at 11:38:33AM -0300, Luiz Henrique de Figueiredo wrote:
> We intend to experiment with generational GC soon. Perhaps it will
> make it into 5.0 final. What are the "requirements of soft
> realtime"?

That is great news! 

Realtime means the execution is in a timely and predictable manner,
and soft realtime means occasional miss is tolerable but unwanted.
For example, if I have only 12 ms to the next frame, and if a call to
collectgarbage(12) will generally return within 12ms, then it is
already good enough, thus so-called soft realtime. 

It is hard to control the exact behavior of a garbage collector in
such a manner, but generational GC is definitely better than