[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.
--
Thierry
- Re: Against sqlite3!!! (Was: sqlite3), (continued)
- Re: Against sqlite3!!! (Was: sqlite3), Zhu Zihao, 2021/12/07
- Re: Against sqlite3!!!, David Engster, 2021/12/07
- Re: Against sqlite3!!!, Lars Ingebrigtsen, 2021/12/07
- Re: Against sqlite3!!!, Arthur Miller, 2021/12/08
- Re: Against sqlite3!!!, Qiantan Hong, 2021/12/08
- Re: Against sqlite3!!!, Arthur Miller, 2021/12/08
- Re: Against sqlite3!!!, Qiantan Hong, 2021/12/08
- Re: Against sqlite3!!!, Alexandre Garreau, 2021/12/09
- Re: Against sqlite3!!!, Qiantan Hong, 2021/12/09
- Message not available
- Re: Against sqlite3!!!, Qiantan Hong, 2021/12/09
- Re: Against sqlite3!!!,
Thierry Volpiatto <=
- Re: Against sqlite3!!!, Qiantan Hong, 2021/12/09
- Re: Against sqlite3!!!, Qiantan Hong, 2021/12/09
- Re: Against sqlite3!!!, Stefan Monnier, 2021/12/09
Against sqlite3!!! (Was: sqlite3), Qiantan Hong, 2021/12/07