News for hackers. Stuff that matters.
Re:Attempts to make Python fast by fanf2 on Wednesday October 21, 2020 @01:19PM (#24849952)
Lua exposes much less of its internals than Python. For example the comment you replied to mentioned stack frames which are not exposed in Lua.
Re:Attempts to make Python fast by anonymoushn on Wednesday October 21, 2020 @01:36PM (#24850150)
Those are exposed via the built-in debug library, including in luajit.
Re:Attempts to make Python fast by fanf2 on Wednesday October 21, 2020 @02:16PM (#24850535)
Oh whoops yes :-)

Note that you can only look up variables by their bytecode register number, not by name.

Re:Attempts to make Python fast by jashmatthews on Wednesday October 21, 2020 @02:29PM (#24850641)
IIRC that uses the Lua C API which LuaJIT supports by fully restoring the interpreter state?