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

You don't have to build Lua to not do GC, you can just tell it how its GC heuristics are supposed to behave at runtime by setting the pause and multiplier variables - good treatise on how to do this at runtime is available here:

https://www.lua.org/wshop18/Ierusalimschy.pdf

And fine details about how to tune things for the optimal GC behaviour for your app:

https://www.tutorialspoint.com/lua/lua_garbage_collection.ht...

 help



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

Search: