On Wednesday, August 31, 2016 at 4:47:37 AM UTC, Lyndon White wrote: > > > There are 3 problems with using Base,serialize as a data storage format. > > 1. *It is not stable* -- the format is evolving as the language > evolves, and it breaks the ability to load files > 2. *It is only usable from Julia* -- vs JLD which is, in the end fancy > HDF5, anything can read it after a little work > 3. *It is not safe from a security perspective* -- Maliciously > crafted ".jsz" files can allow arbitrary code execution to occur during > the > deserialize step. > > You just reminded me of:
http://prevayler.org/ that has been ported to other than the first language, Java, and I think would also be nice for Julia.. They solved a different problem than what you have (or the three above), and pointed to XQuery/XML, if I recall, for the query/[export out of "db"]serialization http://www.onjava.com/pub/a/onjava/2005/06/08/prevayler.html "A *prevalent* system makes use of serialization, and is again useful only when an in-memory data set is feasible. A serialized snapshot of a working system can be taken at regular intervals as a first-line storage mechanism. [..] Prevayler 1.0 was awarded a JOLT Productivity <http://sdmagazine.com/jolts/> award in 2004. The recent version, 2.0, has many improvements, including a simpler API." https://github.com/jsampson/prevayler -- Palli.
