News for hackers. Stuff that matters.
Re:Piccolo – A Stackless Lua Interpreter by rnmmrnm on Thursday May 02, 2024 @03:19PM (#40240374)
Well the only thing that's really itching me is the fact that the whole lua debug.* section is documented as

>You should exert care when using this library. Several of its functions violate basic assumptions about Lua code (e.g., that variables local to a function cannot be accessed from outside; that userdata metatables cannot be changed by Lua code; that Lua programs do not crash) and therefore can compromise otherwise secure code (from the manual)

kinda creeps me out.

Re:Piccolo – A Stackless Lua Interpreter by Dylan16807 on Friday May 03, 2024 @01:54AM (#40244543)
If you find a debugger that can't ruin a function's local variables then that debugger sucks.
Re:Piccolo – A Stackless Lua Interpreter by rnmmrnm on Friday May 03, 2024 @03:09AM (#40245006)
obviously, but i'm not so keen to turn it into a pre-emptive scheduler either lol.