[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: object addresses in Lua
- From: Florian Weimer <fw@...>
- Date: Fri, 27 May 2011 20:25:19 +0200
* Xingzhi Pan:
> Thanks for the reply. So if I'm not supporting userdata (a Lua
> implementation which doesn't speak to C, nor allow any C extension)
> and coroutine, is a copying collector doable?
Built-in tostring() on table returns something derived from the
address of the table. Even that could be hidden by sacrificing
another word in the object. Otherwise, I don't think there's anything
which is observable from the Lua level (especially if you discount the
debug package).