[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Bytecode: Safe or not? / luac manual
- From: Axel Kittenberger <axkibe@...>
- Date: Mon, 31 Oct 2011 13:46:50 +0100
Since lua-jit only supports source code, why use byte code at all?
In case of speed: I suppose the state of affairs is that bytecode is
only loaded faster if not checked. Any speedadvantage to parsing is
eaten up by through untrusted bytecode checking. In case of size: how
much smaller is bytecode compared to source code that is say
precompile-stripped of comments etc. and gzipped if at all?
On Mon, Oct 31, 2011 at 12:47 PM, Frank Meier-Dörnberg <email@example.com> wrote:
> Am 30.10.2011 21:50, schrieb Stefan Reich:
>> I really do hope that lbcv covers all the possible violations. Having
>> a safe way of loading untrusted bytecode is quite crucial to what I
>> want to be able to do with Mobile Lua.
> Do you really have to "load untrusted bytecode"?
> Is not it enough or even better to load cryptographically signed bytecode?