From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.devel Subject: Re: Mutating existing persistent data Date: Tue, 7 Dec 2021 08:28:23 +0100 Message-ID: References: <878rwxje1x.fsf@yahoo.com> <87v901huhw.fsf@gnus.org> <87v901htvj.fsf@yahoo.com> <87mtldhtpy.fsf@gnus.org> <87r1apht83.fsf@yahoo.com> <87ilw1ht01.fsf@gnus.org> <87ee6phsby.fsf@yahoo.com> <875ys1hrgq.fsf@gnus.org> <87a6hdhqz7.fsf@yahoo.com> <53E07634-1F3D-478C-8B39-C037F7F06B81@mit.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JfeREJsJXzCKiv9k" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15628"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 07 08:29:32 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 1muUuq-0003rQ-IE for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 08:29:32 +0100 Original-Received: from localhost ([::1]:60568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muUup-0002yz-4W for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 02:29:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muUtr-0002Hj-W7 for emacs-devel@gnu.org; Tue, 07 Dec 2021 02:28:32 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:34960) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muUtp-0000p6-6F for emacs-devel@gnu.org; Tue, 07 Dec 2021 02:28:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=P6OQfR1OlnSkAgCHWHBiTRks0LhZUWi6kO3dzA6Ajek=; b=a4z7rCqoeEx1+XfnpDq8/35RI1 bJ0SP0HRIiWFgv+B46JXapk7IxI1IHezXY8bH1fwWN83MWB0gEsMNk1lMDLT0WKlBvrhQAP1QLWLu lpGBfnCF4FqoLQVgVW9Nlvg+QoZQBAp7iw4I56F5m9TZJaT1PSsFdEzymbBJXz7RXmjQ5zNC1w0I8 cffZT4PCk20NEwtBqwTDrxuw1bjywdRStgUsN5dzfAk8zrBeciAXUFv3d2QlkZ5yD9Bq9v4mhrroc ZCXcbwPzFK/o5ESNn8YdiYAyOa5bWJTjp9bfKnxAIBDwIV2OYhgeFfKMmg0XERuRHeFhO7oh/92eH ZA/nz5ZA==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1muUtj-0006MP-Sp for emacs-devel@gnu.org; Tue, 07 Dec 2021 08:28:23 +0100 Content-Disposition: inline In-Reply-To: <53E07634-1F3D-478C-8B39-C037F7F06B81@mit.edu> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:281219 Archived-At: --JfeREJsJXzCKiv9k Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 07, 2021 at 06:27:39AM +0000, Qiantan Hong wrote: >=20 >=20 > > On Dec 6, 2021, at 10:24 PM, Po Lu wrote: > >=20 > > Lars Ingebrigtsen writes: > >=20 > >>> Reading web pages in Emacs is not a vital feature, but this will be an > >>> important feature any Lisp code that wants to persist data to disk wi= ll > >>> use. > >=20 > >> And they will have sqlite3 installed. > >=20 > > The keyword here is "Lisp code", and not "person". Persisting data to > > disk will become a very important feature, the lack of which will make > > Emacs unusable for people who do (or can) not build Emacs with sqlite3. >=20 > As for this topic, I don=E2=80=99t think sqlite3 help any much for this s= pecific problem. > The real problem is how to do this for Emacs Lisp, and if we figured this= out > any underlying storage will work, either plain text or gdb(m) or sqlite3. >=20 > And I don=E2=80=99t think the latter 2 would even provide much performanc= e benefit, > because you will probably print parts of data to string then feed to db a= nyway. > db doesn=E2=80=99t understand Lisp, it doesn=E2=80=99t solve Lisp problem. I concur. The interface looks good; why it /has/ to be sqlite3, of all things... I'd rather avoid such an overspecified dependency. Why not PostgreSQL, then, or, say, DB2? (no, I'm not serious on that, just to illustrate my issue). Cheers --=20 t --JfeREJsJXzCKiv9k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCYa8NEQAKCRAFyCz1etHa Rj5LAJ9VUFLyRZp66JYrLe+9K88lgdrxqQCfY1i0pN5iq9O6qlDEMNqYEEKnNnA= =5JSf -----END PGP SIGNATURE----- --JfeREJsJXzCKiv9k--