Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes it could pin accessed objects in some arena, like idk... "stack", for the duration of the call. And release it after an "invocation" returns, or if the host requests it explicitly. It's almost like my example already mentioned it near "everything but ref’d things disappears here" (/s).

I understand how gcs work and their nuances. My only problem was with the "fantastic" part. Lua stack is not "not ergonomic", but absolutely shit to work with, and "there's wrappers" is not an argument, cause they are not a part of distribution but external projects ought to fix the mess.



> And release it after an "invocation" returns, or if the host requests it explicitly.

This would only work when being called from Lua, but not when the host calls into Lua (on the top level).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: