lua-users home
lua-l archive

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


On 27/12/2012 16.00, Eric Wing wrote:
LuaHashMap wraps Lua to leverage its proven hash table implementation,
while providing a friendly C API (which avoids needing to know/use the
low-level Lua C-API). Thus Lua becomes a implementation detail for an
otherwise plain old C library. (Crazy, eh?)

There's also some other fun/crazy/nasty stuff included such as an
STL-like interface wrapper for LuaHashMap (conforms to
hash_map/unordered_map), and optional macros utilizing the new C11
_Generic feature for essentially C++-like overloading (without the C++
baggage).

Nice idea!

--
  Enrico