Re: Feature request: userdata slice
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Feature request: userdata slice
- From: Dirk Laurie <dirk.laurie@...>
- Date: 2015年8月19日 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.