From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: sqlite3 Date: Tue, 07 Dec 2021 17:17:49 +0800 Message-ID: <87mtlchiyq.fsf@yahoo.com> References: <87tufmjyai.fsf@gnus.org> <874k7k6cga.fsf@osv.gnss.ru> <493BB435-9E63-4403-99DF-3D1409E122E4@mit.edu> <87bl1s3ht9.fsf@osv.gnss.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26285"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Qiantan Hong , "larsi@gnus.org" , "emacs-devel@gnu.org" To: Sergey Organov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 07 10:19:37 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 1muWdN-0006gV-FJ for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 10:19:37 +0100 Original-Received: from localhost ([::1]:39272 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muWdM-0001vS-8L for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 04:19:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muWbt-0000be-Mr for emacs-devel@gnu.org; Tue, 07 Dec 2021 04:18:05 -0500 Original-Received: from sonic301-31.consmr.mail.ne1.yahoo.com ([66.163.184.200]:42227) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muWbr-0004UP-8R for emacs-devel@gnu.org; Tue, 07 Dec 2021 04:18:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638868680; bh=8/LgDCgbcN6RuecB9UyV04aEAtKwbGstk55fhjyOX9k=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=ZdmMcGGoHx9JX89XAR6qh5AEjJ0/0GNVNfy5kL++0SRzOrutvvYrk1hmGXh4CsHbajW67S1NzXcAKLrX8HOGDAvHLw0/zZOJac4pUbM0CH8R/poYGw8Ii8NFehd35f185ZDIJgloFCWxQULNnEhzsLOLCWABUJoLpnceMoEtIVKJdEiwMZA4Dru8hVOQ200gVdrwhmvj+/ispBvNIxYIboFmLn7I9/oiku6t0YBDadSwDu7HnOkXBAfucNSCKYddMzVeEeBH4pU7yNJjA3zMkMQZ4S4s3iy05T81uUTXKyeBMk1nJZ5GnhQejD6ozlGJmahXWUcPx1Z84drzlCnXAw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638868680; bh=rOO9syXH5KX2FSJa1T7Lyx/LYvvsbAoCWoVkJZ3IvD2=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=XS1g5kgYtyaRYTLnpTBPQpnkAYFxVsW2QT9PEEC7d8fVoqRvbPIKezkURXchIyC2XifPrl3Z5J1T9m3UOSINyA5oYog+r52hBSZLL3p1J3zkgKoLm3ajt0ppZdf6jVVhTuVYPq2eFRDbWCpOrNS3cDOU0GsjykxRf+0aLUoLC1x4mh1p5Oe0+wWTcFncFtt5AMOLoyNvp5nBHLA5FCk+xjNAkdJSEhiw6s+ZqNuINfWAkeRS6s/j4ZwFEdrO4IE1taVnS/EZimXzOcG4iiHs/vmRFxVIo6DA+I42Oi+RdpI+1OW2Hum7otPDmVCwDPUQqZQTqnqAuDuFBB20LaNh5Q== X-YMail-OSG: 0oBoKRgVM1n1YgupB2l.otXx_e29M8b2oWdJDplKLI1pdOZDu4HSDMjYwO7kX03 RTVBqdPY0T6NR6wqtUXfzvLLALW2OenEJbJBOIxdsOKiTfwLnXGOWYrLpRth6mdp1xYIOooeg7VP d822CvyFym12DR_D1b63aGNvuw4L3ks2tIteNucf3EsYlbW_MYgZ8x7BesqbqCF_Ol4QwQgxXdYg S5fiBRsoS3TECs.B6KeOijJ6JOWvkR2p6n93z9rq816wrytQzWLqDygyI1SaeN7wixOErdOk9r8F e2NjBSF_cjQHWEXlzVIQk9yn9rSJq5g56NjQ4s3bfKDTD27GupLwcr9fFmJDkuRoP0iJLw92V2wg MLsK9rqnso3o2Q0RkSaV6w_j5yI1zplAPNIOh98oiRIuSMtEr8Qtiky8N2JKxZgDDAs83xlBjx0P mFj60yL.M8fyLvt6EmaWpAFVtd.v0kaZM2HBvUWLu_IrAnrH1nJPKk49GAMltjBav2pF512bH14K 3lBNftengSAHCZ0qGNoPnBtNaCbWgxxPNAZ6DAXtSUSDeGdvRgw3xt.9SXPc6VSv8lhW.cL_w5so 3rfRJm7XSlfn3k5X4u2xzIPPWRwnZkq2GhVLRx_XbvSTzk9TGMkxPQrqs_cffn37eNszzpD2BihW wt4qdDDUbHBCJhA6mL55WPzpJOQIkWnb189x_LhiAc8NYs734T0Ht0YKt2CH23l9lGFgaSBeH..c VUJ62vLSRqTfLgFwOLEBjE.ZOnO_vFSJlqGJtH_7xONYCkx18gfPf_vKQ4VzwiTZvbBa4sfWYtCE 5lxV1_9jPuDrcCXBPi7VC5ujLneoeu5rvgFu5_FSTl X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Tue, 7 Dec 2021 09:18:00 +0000 Original-Received: by kubenode515.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 2270240247437666416bd6f39e4ce797; Tue, 07 Dec 2021 09:17:54 +0000 (UTC) In-Reply-To: <87bl1s3ht9.fsf@osv.gnss.ru> (Sergey Organov's message of "Tue, 07 Dec 2021 12:06:26 +0300") X-Mailer: WebService/1.1.19415 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.200; envelope-from=luangruo@yahoo.com; helo=sonic301-31.consmr.mail.ne1.yahoo.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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:281230 Archived-At: Sergey Organov writes: > I believe that depending on (any) DB is not the right way to go for > persistent storage. It rather should be abstracted-out and then DB will > likely won't be used as suitable backend anyway. I would really like something along the lines of manardb for Emacs Lisp. We have the advantage of controlling the entire runtime, so it would not have portability issues across different language implementations (in the case of manardb, Common Lisp). But since that is too much work, the second best solution would be to use *dbm, or even printing hash tables, to achieve a simple key-value store.