[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua as configuration language
- From: Alexander Gladysh <agladysh@...>
- Date: Fri, 4 Jan 2013 21:00:28 +0400
On Fri, Jan 4, 2013 at 8:58 PM, Alexander Gladysh <agladysh@gmail.com> wrote:
> On Fri, Jan 4, 2013 at 8:47 PM, Marc Balmer <marc@msys.ch> wrote:
>> I posted a short article on how to use Lua as a configuration and data exchange language.
>>
>> Comments welcome.
>>
>> http://www.netbsd.org/~mbalmer/lua/lua_config.pdf
BTW:
> Lua chunks have even be used as protocol messages for client-server protocols over the network,
see [3] for details.
While they have been used, it is not a sound practice, IMO. (1) Both
client and server must trust each other (or pay heavy sandboxing
toll), and (2) data deserialization is itself quite costly, when
compared with existing specialized alternatives.
Alexander.