JibberJabber (blog)

LuaHashMap & Hash Table Shootout 2: Rise of the Interpreter Machines

inTextMediumImage


I needed a hash table library for C. Instead of reinventing the wheel, I wrote LuaHashMap, which wraps Lua's C-API to access Lua's table system. I turned the traditional Lua embedding and extending paradigm on its head. 

LuaHashMap offers a nice, easy to use API for C for hash tables and Lua itself just becomes an implementation detail. …

Copyright © PlayControl Software, LLC / Eric Wing