[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: newproxy has its uses...
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 7 Apr 2014 15:15:44 +0200
On Mon, Apr 7, 2014 at 3:06 PM, Thiago L. <fakedme@gmail.com> wrote:
> That doesn't mean newproxy doesn't have any use... __rawset and __rawget
> metafields (to be used as error messages) would make newproxy useless...
Hm, to have new metamethods for these corner cases seems overkill. I
still don't understand the problem: if you're paranoid, then sandbox
user scripts - you have full control.
newproxy was useful in 5.1 because we couldn't attach a __gc
metamethod to a table.