Re: light userdata (Was: Fastest way to transfer data from C to Lua ?)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: light userdata (Was: Fastest way to transfer data from C to Lua ?)
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2013年6月18日 08:36:41 -0300
> I can't find a quote right now, but once there was this guarantee that
> you cannot crash a program from within Lua code.
This is mandatory for an embedded language.
If you can crash the host from a Lua script, it's either a bug in Lua
or more proably in a C library exported to Lua. So, C libraries should
ensure the safety of the host, as far as they are concerned.