lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




On 04/06/15 04:02 PM, Dirk Laurie wrote:
2015-06-04 20:53 GMT+02:00 Soni L. <fakedme@gmail.com>:
http://www.lua.org/manual/5.3/manual.html#2.5

Why does the Lua reference manual require a specific garbage collector
implementation? Surely just having functionality requirements for the GC is
enough, no? (e.g. must support __gc and weak tables and stuff)
It does not "require" a specific collector. It merely says what is there:
an incremental mark-and-sweep collector.

The reference manual is what your implementation should follow. It essentially requires your implementation to have a specific garbage collector for it to comply with the manual.

--
Disclaimer: these emails are public and can be accessed from <TODO: get a non-DHCP IP and put it here>. If you do not agree with this, DO NOT REPLY.