On Apr 17, 2007, at 5:04 AM, Jesús Ruiz de Infante wrote:
I've never seen a formal requirement for it, but every single library system does things this way. Windows DLLs can have libraries that have globally shared segments, I believe, but it's not the default.
There's no document that I'm aware of that exactly defines the contract between the Lua interpreter and extensions written in C. My assumption has been that any reference to an object will keep the object allocated and in the same location. If that's not true I'd really like to know.