[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Feature request: userdata slice
- From: Dirk Laurie <dirk.laurie@...>
- Date: Wed, 19 Aug 2015 14:01:40 +0200
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.