unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: Florian Weimer <fw@deneb.enyo.de>
Cc: emacs-devel@gnu.org
Subject: Re: SQLite interface
Date: Thu, 13 Mar 2014 11:26:08 +0100	[thread overview]
Message-ID: <m3a9cuv1hb.fsf@exodia.verona.se> (raw)
In-Reply-To: <87zjku76nk.fsf@mid.deneb.enyo.de> (Florian Weimer's message of "Thu, 13 Mar 2014 11:08:15 +0100")

Florian Weimer <fw@deneb.enyo.de> writes:

> Would a patch that exposes the SQLite C API at the Lisp level be
> acceptable for inclusion in Emacs, or is this not a good idea because
> SQLite is public domain software outside of the GNU project?
>
> I would like to use SQLite to speed up updating the overview files in
> the nnml backend for Gnus.  I have some folders where these files are
> several hundred megabytes large, and they are rewritten from scratch
> each time new mail is received.  So far, I've thrown hardware at the
> problem, but that's becoming less and less cost-effective.
>

Another aproach is to work with a FFI interface in Emacs to expose
libraries such as sqlite.

There are however various opinions on FFI interfaces for emacs.

My personal opinion is that GObject introspection is a nice aproach for
Emacs to gain FFI abilities.

I have a preliminary patch for GObject introspection support in the
Emacs Xwidget branch.

There is a Gobject wrapper for sqlite https://code.google.com/p/sqlheavy/

If you are interested in exploring this avenue, I will be happy to assist.


-- 
Joakim Verona



  reply	other threads:[~2014-03-13 10: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 [this message]
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
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m3a9cuv1hb.fsf@exodia.verona.se \
    --to=joakim@verona.se \
    --cc=emacs-devel@gnu.org \
    --cc=fw@deneb.enyo.de \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).