lua-users home
lua-l archive

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


Am 04.01.2013 um 18:00 schrieb Alexander Gladysh <agladysh@gmail.com>:

> 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.

I agree.  I just mentioned it because I found it an interesting use case.

And many thanks for you other comments!

- Marc