Re:Linus Torvalds: “I'm happily hacking on a new save format...
by seivan on Friday March 07, 2014 @09:46PM
(#7364043)
This sounds a lot like NSCoding for Objective-C (Cocoa).
Though you'd still have to define the types/classes and name for each property you want to save.
But you could technically save it in a big blob, and then read it into memory as you resume.
Could persist to disk as a binary, sql or a plist (xml).
I guess the only downside is, that if you got a lot of composite classes all with their own properties and associations (say a graph), there's a lot of manual work to be done.
Could persist to disk as a binary, sql or a plist (xml).
I guess the only downside is, that if you got a lot of composite classes all with their own properties and associations (say a graph), there's a lot of manual work to be done.