Re:Linus Torvalds: “I'm happily hacking on a new save format...
by dbaupp on Friday March 07, 2014 @10:44AM
(#7360826)
Why does using a Lua-basef format stop the files being corrupted?
[ Parent
| on HN ]
Re:Linus Torvalds: “I'm happily hacking on a new save format...
by politician on Friday March 07, 2014 @11:57AM
(#7361282)
Maybe he means that he doesn't have to deal with bugs in a custom binary serializer.
Re:Linus Torvalds: “I'm happily hacking on a new save format...
by mrcharles on Friday March 07, 2014 @02:02PM
(#7362031)
It can only become corrupted by external factors; a lot of games I've worked on, in-game bugs could lead to corrupted saves being written out to disk. Since in this case we are just serializing lua data, unless the serializer itself has a bug, it will always write out correctly, and any issues become issues of game logic rather than anything else.