From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Florian Weimer Newsgroups: gmane.emacs.devel Subject: Re: Embedding SQLite Date: Sun, 18 Apr 2010 22:23:40 +0200 Message-ID: <87pr1w8q7n.fsf@mid.deneb.enyo.de> References: <87sk6tonv8.fsf@mid.deneb.enyo.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1271622238 32257 80.91.229.12 (18 Apr 2010 20:23:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 18 Apr 2010 20:23:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 18 22:23:57 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O3b21-0003E0-DX for ged-emacs-devel@m.gmane.org; Sun, 18 Apr 2010 22:23:53 +0200 Original-Received: from localhost ([127.0.0.1]:39708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3b20-0005qW-QD for ged-emacs-devel@m.gmane.org; Sun, 18 Apr 2010 16:23:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O3b1v-0005q0-1y for emacs-devel@gnu.org; Sun, 18 Apr 2010 16:23:47 -0400 Original-Received: from [140.186.70.92] (port=40134 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3b1t-0005p1-TY for emacs-devel@gnu.org; Sun, 18 Apr 2010 16:23:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O3b1r-0002jq-TI for emacs-devel@gnu.org; Sun, 18 Apr 2010 16:23:45 -0400 Original-Received: from ka.mail.enyo.de ([87.106.162.201]:50323) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3b1r-0002jS-Kj for emacs-devel@gnu.org; Sun, 18 Apr 2010 16:23:43 -0400 Original-Received: from [172.17.135.4] (helo=deneb.enyo.de) by ka.mail.enyo.de with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) id 1O3b1o-0006Hj-JK; Sun, 18 Apr 2010 22:23:40 +0200 Original-Received: from fw by deneb.enyo.de with local (Exim 4.71) (envelope-from ) id 1O3b1o-0001ub-DO; Sun, 18 Apr 2010 22:23:40 +0200 In-Reply-To: (Stefan Monnier's message of "Sun, 18 Apr 2010 16:17:19 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:123853 Archived-At: * Stefan Monnier: >> Would an interface to SQLite be acceptable for integration into Emacs? > > Depends: is the linkage done at the C level with "libsqlite.so" or is it > done at the Lisp level via the command-line sqlite program? The former, or perhaps compiling sqlite3.c and linking that if no system library is available. SQLite is dynamically typed, and the command line tool cannot adequately confer type information at all times. It's much easier at the API level. You also avoid most SQL injection issues.