Re: Re : luachip
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Re : luachip
- From: Mark Hamburg <mhamburg@...>
- Date: 2004年8月11日 08:20:47 -0700
on 8/11/04 3:09 AM, David Given at dg@cowlark.com wrote:
> On Wednesday 11 August 2004 02:47, Joshua Jensen wrote:
> [...]
>> Or, alternatively, you can look at LuaRC, a reference counted version of
>> Lua 5.02. It works great in real-time applications, as no garbage
>> collection blips happen (that is, you are limited by the underlying
>> realloc() implementation, and that's replaceable with higher performance
>> versions).
>
> The problem with reference counting is that when an object gets dereferenced
> you can spend an unbounded amount of time freeing it (because it will have
> references to other objects, which will have references to other objects,
> etc). Which still makes it unsuitable for real time, I'm afraid.
There exist incremental freeing schemes that deal with that.
Mark