[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: In Lua 5.3 -- why were string.[un]pack(int|float)() added?
- From: Coroutines <coroutines@...>
- Date: Sat, 19 Apr 2014 15:25:07 -0700
On Sat, Apr 19, 2014 at 2:56 PM, Sean Conner <sean@conman.org> wrote:
> What about metatables?
Hmm, I was aiming for a shallow copy -- deep-copies could be done with
a recursive wrapping function :-) I'd be really interested to know if
that function works as expected -- I'm not near a compiler today :>
> I hope you mean "same process" otherwise, you'll have problems with
> pointers in the userdata.
For lightuserdata yes -- also for when ASLR[1] is not in effect I guess?
[1]: http://en.wikipedia.org/wiki/Address_space_layout_randomization