[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: persistent lisp objects
From: |
Stefan Monnier |
Subject: |
Re: persistent lisp objects |
Date: |
Sun, 25 Oct 2009 11:05:05 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
>> I have no idea what he thinks as novel, but such functions have been
>> available for ages. Called print and read.
[...]
> That is surely not the best way to serialize objects, but that is better
> than nothing until somebody write something to save hash-table, lists,
> etc... in a data base.
Again, what's wrong with print&read?
That's what your eval-when-compile uses. All the eval-when-compile does
is to let the byte-compiler serialize an object into a .elc file.
If you're not limited to a .elc file, then it seems a lot simpler to
just use print&read directly.
Stefan