From: Francis Hwang Date: 2004-11-24T11:29:51+09:00 Subject: Marshal vs. YAML vs. something else (Re: Most popular wiki in Ruby seeks kind maintainer) More generally, let me ask: What formats are people using to persist Ruby objects to disk? What are pluses and minuses? I can't figure out when I should use something like YAML and when I should use the Marshal module and if there's anything else out there that people are using, I'm probably going to get sort of confused but should probably hear about them anyway. On Nov 23, 2004, at 4:49 PM, Austin Ziegler wrote: > On Wed, 24 Nov 2004 02:35:21 +0900, David Heinemeier Hansson > wrote: >> * Switching from Marshal to YAML outputs. The biggest fear in Instiki >> is that something horrible goes wrong with the persisted data and all >> is lost in a big ball of Marshalled, binary mud. Having a humanly >> readable format would be very nice. This needs A LOT of testing, >> though. > > I recommend *not* using YAML. In my experiences with Ruwiki, YAML > support is > not yet stable enough -- especially for large data -- for general use. > > -austin, trying to get some of these same features in Ruwiki... > -- > Austin Ziegler * halostatue@gmail.com > * Alternate: austin@halostatue.ca > > Francis Hwang http://fhwang.net/