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: Emacs design and architecture. How about copy-on-write? Date: Mon, 18 Sep 2023 21:34:39 +0800 Message-ID: <878r93wqog.fsf@yahoo.com> References: <83edizjn0v.fsf@gnu.org> <0518f65b-1dd1-6923-8497-da4d3aeac631@gutov.dev> <87sf7fc7kd.fsf@dataswamp.org> <834jjuk68t.fsf@gnu.org> <87cyyhc7uu.fsf@dataswamp.org> <83ttrsg9nx.fsf@gnu.org> <83h6nrg4eg.fsf@gnu.org> <83v8c7elan.fsf@gnu.org> <87h6nrwqvq.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21805"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Alan Mackenzie , incal@dataswamp.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 18 15:36:18 2023 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 1qiEQE-0005XI-Gl for ged-emacs-devel@m.gmane-mx.org; Mon, 18 Sep 2023 15:36:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiEPQ-0002Vm-0N; Mon, 18 Sep 2023 09:35:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qiEP8-000204-MQ for emacs-devel@gnu.org; Mon, 18 Sep 2023 09:35:11 -0400 Original-Received: from sonic313-56.consmr.mail.ne1.yahoo.com ([66.163.185.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qiEOs-0004pp-Ds for emacs-devel@gnu.org; Mon, 18 Sep 2023 09:35:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695044091; bh=E418SH85nQq0i111xyGQWtXUnhlLKFBmIfHQRg0eyyY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=YCVz4o2Smrv5BUVZiQ+R026ftEk0F2wzNwY0MUh+HgG7V2gynjPG4/q4KBP8D5S1Zrp+cxqNWx4KT3dRSXs+ZbsYrS3b9nQenM/6R7sx/Uol3yy4re4LFN9nLgqOM/8lc1B97o64ceMEzAmFVAD/qOQSbYq6m1yXuAtuli5+BJXBZfjaK+1n4nr+F9Xf0vhdUDyNqvbbRtqSqNzYNF10DewaeYjJ69tAc4a5VwSvWA6afYXsUWBIxBllKaVmoPGlOjNCOMgfGGtvU6+mBJXtyRn4Ch2SmWHZ72sNDK34iIBeA0ZvE9CURDrvb3j27kSqsRAMPnnhYjE1MJQz3epbjA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695044091; bh=X3oV/mdzod0Db1+2Nd9tx1GNFCINZTloSTDrnq7Uhst=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=g9ya3mLOn8JT7/M8+1aFpnwEhPOmCLKSOaraPhhiSdlvmaBg0POdvtFW25Z+e2jyX3ThKaIuLs7mrbMGFVISf+DkG8Mh1mbXxcc6SqPX1rkfGXKdnEEecW6S3cM8PM27SkY0hC8yOnAkUsWgwnWkuUfc/1/brs7rLiR2IxETwswedj8jWEKQD6CCuas4KuFNRnYtZtb1TlP4AEkJKsbAx0opvnltZcZOLyZYb7QLjMbpAl6tfj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r.mail.ne1.yahoo.com with HTTP; Mon, 18 Sep 2023 13:34:51 +0000 Original-Received: by hermes--production-sg3-55c667b499-mbg4m (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2bdd1e6e10a8b07dc66d4326c03b640d; Mon, 18 Sep 2023 13:34:44 +0000 (UTC) In-Reply-To: <87h6nrwqvq.fsf@yahoo.com> (Po Lu's message of "Mon, 18 Sep 2023 21:30:17 +0800") X-Mailer: WebService/1.1.21797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.31; envelope-from=luangruo@yahoo.com; helo=sonic313-56.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:310699 Archived-At: Po Lu writes: > In a prototype that I've been entertaining, this problem is simply left > unsolved. Redisplay et all can only be called from the main thread; > attempting to call functions that are not thread safe (presently all > aside from those defined within alloc.c Also, several special forms in eval.c, data.c, fixnum arithmetic, and the bytecode interpreter of course.