eris icon indicating copy to clipboard operation
eris copied to clipboard

Heavy Duty Persistence for Lua 5.2 and 5.3

Results 8 eris issues
Sort by recently updated
recently updated
newest added

Hi. I learned internals of eris little bit during debugging undump of lua script. As I understood, there is memory corruption which occurs during undumping script (script creates not many...

This modification takes the number of modified Lua files from 8 down to 3 and makes the patch slightly less intrusive.

Inspired by wanting preemptive multitasking in OpenComputers. See [my other repo](https://github.com/evg-zhabotinsky/yieldhook) for explanation of changes to `debug.sethook()` that let Lua hooks yield. After [posting to OC forum](https://oc.cil.li/index.php?/topic/1795-preemptive-multitasking-and-sysyield-timeouts/), it turned out...

When optimising, the compiler is allowed to reorder the read calls in the following code: return (uint16_t)read_uint8_t(info) | ((uint16_t)read_uint8_t(info)

For performance reasons Lua does not initialise memory until it knows the values will actually be used. However Eris serializes some of them without knowing whether they have been initialised,...

If Lua targets a fixed point number system (like PICO-8 does) then the result of 0/0 may not follow the IEEE NaN semantics where x ~= x. In order to...

When investigating a bug report of OpenComputers I found that some lua code can behave incorrectly between loads (restoring the world after closing it) https://github.com/MightyPirates/OpenComputers/issues/2598 The summary of the problem...

Hello, I'm trying to modify a set of LUA scripts in the Widelands game, which uses ERIS library. The problem is that when there is an error in the script,...