lua-users home
lua-l archive

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


2015-08-19 13:49 GMT+02:00 云风 Cloud Wu <cloudwu@gmail.com>:
>> The whole idea sucks, in spades. Userdata means user data.
>> Lua is not supposed to know how its implementation details.
>> The metatable is there to provide an interface. Light userdata
>> is there when no interface beyond the ability to distinguish between
>> instances is required.
>
>
> I don't think you really understand the idea.

Quite possibly. In that case, the idea is too complicated for someone
like me to understand.