[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Against sqlite3!!!

From: Thierry Volpiatto
Subject: Re: Against sqlite3!!!
Date: Thu, 09 Dec 2021 19:16:57 +0000

Qiantan Hong <qhong@mit.edu> writes:

>> If you start dividing your file into pages and loading one page at a time, 
>> you’re starting to reimplement a kv-database, just as gdbm (or some 
>> filesystems).  You’d better reuse gdbm,
> There is a subtle but IMO significant benefit of resist!, it understands
> more than kv-put. In the current version, it also understands
> kv-push and kv-delete (aka list operations).
> I imagine this can be very useful for Lisp because lots of time people
> just add or remove data from a list. Some implementation that doesn’t
> understand this would need to dump the whole list again.
>> and work on something higher level 
>> and more fun like a lisp sql-like query language, inspired from (or even 
>> compatible with) sql or sparql or prolog, except each expression would 
>> return a lisp value.  That would be very beautiful.
> That’s definitely a cool idea. I’ll probably just go for an embedded Prolog 
> with S-exp syntax.
> It’s probably not my current priority though, because
> Emacs packages at the moment still use mostly LISt Processing,
> and somehow people still find enough incentive to introduce SQLite3,
> which I attribute to the lack of a decent pure Lisp persistent store.

Emacs-lisp provide eval-when-compile which allows saving elisp objects
in compiled files, I use this since years to save my variables in emacs.
See psession package.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]