lua-users home
lua-l archive

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


> PS It's easy to crash Lua with a malformed binary chunk. I wonder
> if it's supposed to be robust.

It's not supposed to be robust. In Lua 5.2, We gave up all attempts
at providing robust loading of precompiled chunks after Peter Cawley
completely shot down the bytecode checker.

Instead, we have provided the ability for the user to choose whether
to trust precompiled chunks as an option to load.