lua-users home
lua-l archive

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


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 <frank@md-web.de> 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?
>
> Greetings
> Frank
>
>