top | item 40240374

(no title)

rnmmrnm | 1 year ago

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.

discuss

order

Dylan16807|1 year ago

If you find a debugger that can't ruin a function's local variables then that debugger sucks.

rnmmrnm|1 year ago

obviously, but i'm not so keen to turn it into a pre-emptive scheduler either lol.