[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] LuaHashMap: An easy to use hash table library for C (release candidate)
- From: Eric Wing <ewmailing@...>
- Date: Thu, 27 Dec 2012 21:57:37 -0800
Thanks everybody for the encouraging words!
> To make it complete, why not expose the Lua string library so that C
> programmers don't have to keep living in the dark ages?
Interesting idea. Though I don't have a clear vision on what this
should do. Since I am usually in multimedia, long text processing is
not something I spend a lot of effort on. And since I am usually
involved in native and cross-platform, I push the burden onto native
libraries like NSString. So most of my time is spent marshaling
strings across layers (e.g. Lua <=> C <=> NSString), where const char*
is the only thing common everybody speaks. My most immediate thoughts
gravitate to how to avoid the constant recreation/conversion of
strings when crossing boundaries or at least speed it up. Lua's string
internalization is interesting, but won't work across multiple Lua
states. Then there are all the threading concerns.
I have been playing with some fun things like LuaCocoa and LPeg. (I
think I posted a question awhile back about a Swedish Chef grammar).
But that integration is much tighter and obscures the intermediate C
layer. Not much use to the greater C community unless they all happen
to start getting easier access to Obj-C and Foundation.
Thanks,
Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/