LuaMemory adds support for manipulation of memory areas in Lua. These memories are much like Lua strings, but their contents can be modified in place and have an identity (selfness) independent from their contents. LuaMemory provides both a Lua module to manipulate memories in Lua, as well as a C API for other libraries to add support to memories.
https://github.com/renatomaia/lua-memory
Contributions are welcome.
--
Renato Maia