lua-users home
lua-l archive

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

Joshua Jensen wrote:

I was just comparing the Lua 5.0.2 core against the LuaPlus core to
determine what the extra baggage was.  The majority of the modifications to
the LuaPlus core are merely to support wide characters (even down to the
reading of Unicode files in llex.c).  The other modifications are minor in
comparison... Metatables for all data types and overridable callback memory
allocators (like Lua 5.1).  Finally, the only other change is the ability to
turn on a reference counting garbage collector, but that code is controlled
by a #define called LUA_REFCOUNT and COMPLETELY compiles out to the original
mark-sweep allocator.  All said, my belief is if you want full native
support for wide characters, you will expect to make just as many
modifications as LuaPlus did.

Thanks, that all sounds very promising. It would be great if all your mods to the original sources were switchable like LUA_REFCOUNT; is this likely to happen?

-- | taciturn, n.  a silent pot