From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: sqlite3 Date: Mon, 6 Dec 2021 14:08:48 +0100 Message-ID: References: <87tufmjyai.fsf@gnus.org> <0CE6937B-62E5-4C15-8B8C-1DDC0166ACF5@mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18906"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "larsi@gnus.org" , Stefan Monnier , Arthur Miller , "emacs-devel@gnu.org" To: Qiantan Hong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 06 14:29:12 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1muE3L-0004dN-1X for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 14:29:11 +0100 Original-Received: from localhost ([::1]:49256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muE3J-0003fp-BY for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 08:29:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muDjk-0006U7-4a for emacs-devel@gnu.org; Mon, 06 Dec 2021 08:08:56 -0500 Original-Received: from [2607:f8b0:4864:20::52e] (port=33481 helo=mail-pg1-x52e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muDjh-0004GS-D5 for emacs-devel@gnu.org; Mon, 06 Dec 2021 08:08:55 -0500 Original-Received: by mail-pg1-x52e.google.com with SMTP id f125so10448523pgc.0 for ; Mon, 06 Dec 2021 05:08:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc:content-transfer-encoding; bh=rdB6cm28GoxDbf5R9lVZRMj0PT6FDQN9tPibf6M7Y88=; b=TqmrgHaj0ucGyK4jt/p6uPP7qh/0tqRGtEw/04m6n/KUgriiQh0UR/erTg8TNZs+JY pxVSqB9XfnGHLY9N0uEQfatyShRQNK6Nu3ciWrdi5wj9D6d+ivt6zJgwNcfC8JLBD7sE rCK0rjwzLWQxtPC6fWKhggw/wZaKKmyOil+tYT2PAEcdIZpXElpTy2pKpPGx5yH3UnuK E954JRoHgo8Cwxdlm0KBN+U/ezKksnGeBh8mUpJNd2Rb5m6l8vyEr+1R1Klq36VK+EMZ gnFA4UuOR5ayKW/DBwWGi+DxhdiyWHia6GLt0pGkMFfd88gIrqzif2wOZmNWRNip4xRJ SpHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc:content-transfer-encoding; bh=rdB6cm28GoxDbf5R9lVZRMj0PT6FDQN9tPibf6M7Y88=; b=aPr89FZXIi0+0dqev/wX3MIZTQAgf7Vn9fdfUZVNO6watY3RGhhsoABamAbGGeNo9B meqMUgpqpsA9Uy/rD4NZ0Ss1Fg5cpfByOE2KVHQ9lDxjnvl9c0roiRRC1BjgK8LMAH6k Tg8qaWmsiigR1KhiydrJHt8HOsy4/o+LQoFqmPQbauVZuTfN49n8/VdS8OR+Pb+ICqg3 WbE+jqKWwTSQy7xC7dxfJ6IO7KCSPaG7uGGAzEz0lHlDN3v2DI20iQeAlfRMZajZn9Ky 75MmIP3+OsXzFX49gDxmUyor/xWsEOJK9L3Uctk9iZ/L0J59LlFYrTb6lNVp5McbNSHr uSfA== X-Gm-Message-State: AOAM532S+wZlxFINgkebDb+2pYGgVy2mI/ujKFTJF/00sQyLXLNirBU1 kmkWwUEDp9I4Pawaf8iQCXj9gcJjpznIl2Bvv+DnLH8q X-Google-Smtp-Source: ABdhPJzgqCY2I8G/sbsSlBinveM+HG6PAmQZ8bLIVHrske79f/38Yz8vIAjlocYT7iJlHGxC3LQ5+41oNYj6JWf7BXY= X-Received: by 2002:a63:ff14:: with SMTP id k20mr13303642pgi.325.1638796129247; Mon, 06 Dec 2021 05:08:49 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 6 Dec 2021 14:08:48 +0100 In-Reply-To: <0CE6937B-62E5-4C15-8B8C-1DDC0166ACF5@mit.edu> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::52e (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=stefankangas@gmail.com; helo=mail-pg1-x52e.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:281099 Archived-At: Qiantan Hong writes: > I really don=E2=80=99t like the idea of introducing an external UNIX-y > dependency that significantly overlaps with Emacs Lisp itself, > it=E2=80=99s almost like saying =E2=80=9Clet=E2=80=99s make Emacs program= mable using > JavaScript, because JavaScript is faster, safer, etc etc=E2=80=9D. I don't see any similarity between Lars' suggestion and the idea of introducing a new language to rival Emacs Lisp. > We don=E2=80=99t need the sql language. In most cases it=E2=80=99s no bet= ter than > MAPCAR-ing and FILTER-ing, and it=E2=80=99s strictly no better than just > embedding a Prolog interpreter in Emacs Lisp. AFAIU, the idea is to hide away any SQL inside a new sqlite.el that will provide some ORM. I don't see this as fundamentally different to depending on gdbm, or indeed any other store, which presumably also would not be programmable directly in Emacs Lisp.