[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: VM object types (was: TIOBE: Lua in the Top 20)
- From: roberto@... (Roberto Ierusalimschy)
- Date: Fri, 13 Jul 2007 09:40:36 -0300
> And ... IMHO mutable strings probably won't have less management
> overhead than buffers implemented with userdatas. Yes, I know,
> passing userdatas to C APIs expecting plain strings doesn't work
> right now. But this can be changed.
This seems a more promissing approach. Diego suggested something in
these lines some time ago. (Of course, the userdata must be converted to
a char*, not to a Lua string; this is tricky with metamethods...)
-- Roberto
- References:
- TIOBE: Lua in the Top 20, Hisham Muhammad
- Re: TIOBE: Lua in the Top 20, Glauber Prado
- Re: TIOBE: Lua in the Top 20, Frederico Rodrigues Abraham
- Re: TIOBE: Lua in the Top 20, Spencer Schumann
- Re: TIOBE: Lua in the Top 20, jason-lua
- Re: TIOBE: Lua in the Top 20, Sherry Zhang
- Re: TIOBE: Lua in the Top 20, David Kastrup
- RE: TIOBE: Lua in the Top 20, Vijay Aswadhati
- Re: TIOBE: Lua in the Top 20, David Kastrup
- Re: VM object types (was: TIOBE: Lua in the Top 20), Mike Pall