[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: upvals in Lua bytecode
- From: Xingzhi Pan <vengeance.storm@...>
- Date: Thu, 2 Jun 2011 15:00:10 -0700
The discussion in this thread totally veered away from my original question :-)
Maybe you guys should spawn 2~3 new threads to continue. lol
Xingzhi 'Harry' Pan
On Thu, Jun 2, 2011 at 2:37 PM, Patrick Donnelly <batrick@batbytes.com> wrote:
> On Thu, Jun 2, 2011 at 5:16 PM, HyperHacker <hyperhacker@gmail.com> wrote:
>> Say by writing something like:
>> require('strict')
>> at the top of your source? :)
>
> The strict library only catches runtime errors which often is not what
> you want. You can only catch all of the global variable oopsies by
> testing all code paths which is annoying. I've had to write a custom
> tool to look for these screw-ups in Nmap's Lua libraries because the
> problem badly breaks any code run by multiple threads (coroutines).
>
>> (strict is a built-in standard library? I
>> don't have access to a computer to check right now...)
>
> The strict library is not a standard library. It's just an "example"
> library (for lack of a better word) that isn't even installed via
> `make install`.
>
> --
> - Patrick Donnelly
>
>
--
Pan, Xingzhi
http://www.panxingzhi.net
- References:
- upvals in Lua bytecode, Xingzhi Pan
- Re: upvals in Lua bytecode, François Perrad
- Re: upvals in Lua bytecode, Xingzhi Pan
- Re: upvals in Lua bytecode, Geoff Leyland
- Re: upvals in Lua bytecode, Reuben Thomas
- Re: upvals in Lua bytecode, Miles Bader
- Re: upvals in Lua bytecode, Reuben Thomas
- Re: upvals in Lua bytecode, Miles Bader
- Re: upvals in Lua bytecode, Reuben Thomas
- Re: upvals in Lua bytecode, Tony Finch
- Re: upvals in Lua bytecode, Pierre Chapuis
- Re: upvals in Lua bytecode, HyperHacker
- Re: upvals in Lua bytecode, Patrick Donnelly