all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: SQLite interface
Date: Thu, 13 Mar 2014 13:26:51 -0400	[thread overview]
Message-ID: <87y50e6mck.fsf@lifelogs.com> (raw)
In-Reply-To: 87zjku76nk.fsf@mid.deneb.enyo.de

On Thu, 13 Mar 2014 11:08:15 +0100 Florian Weimer <fw@deneb.enyo.de> wrote: 

FW> Would a patch that exposes the SQLite C API at the Lisp level be
FW> acceptable for inclusion in Emacs, or is this not a good idea because
FW> SQLite is public domain software outside of the GNU project?

FW> I would like to use SQLite to speed up updating the overview files in
FW> the nnml backend for Gnus.  I have some folders where these files are
FW> several hundred megabytes large, and they are rewritten from scratch
FW> each time new mail is received.  So far, I've thrown hardware at the
FW> problem, but that's becoming less and less cost-effective.

Given that any possible FFI interface is after the freeze and probably
will take months to get into a released Emacs, can you consider writing
this with a shell backend for now and use the C API opportunistically?
I don't know the details about SQLite's accessibility, but I believe it
can do at least some useful things non-interactively over STDOUT/STDIN.

Ted




  parent reply	other threads:[~2014-03-13 17:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-13 10:08 SQLite interface Florian Weimer
2014-03-13 10:26 ` joakim
2014-03-13 10:29   ` Florian Weimer
2014-03-13 13:54     ` joakim
2014-03-13 13:20 ` Stefan Monnier
2014-03-13 13:31   ` David Kastrup
2014-03-13 14:25     ` Stefan Monnier
2014-03-13 17:26 ` Ted Zlatanov [this message]
2014-03-13 20:31   ` Florian Weimer
2014-03-15  6:53     ` Kenneth Raeburn
2014-03-15 15:00       ` Florian Weimer
2014-03-15 17:23         ` Ted Zlatanov
2014-03-15 12:26     ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y50e6mck.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.