From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs design and architecture. How about copy-on-write? Date: Thu, 21 Sep 2023 17:10:24 +0300 Message-ID: <83o7hv8vn3.fsf@gnu.org> References: <87il86nxts.fsf@localhost> <87o7hyx8h2.fsf@dataswamp.org> <87o7hx88ry.fsf@localhost> <87a5thta90.fsf@yahoo.com> <87led1865h.fsf@localhost> <875y45t7yo.fsf@yahoo.com> <874jjprmq2.fsf@yahoo.com> <83a5tgc03s.fsf@gnu.org> <87zg1gqr8q.fsf@yahoo.com> <83msxg9eb9.fsf@gnu.org> <87msxgq8rn.fsf@yahoo.com> <83jzsk9c5l.fsf@gnu.org> <87msxf2abp.fsf@localhost> <83h6nnalu5.fsf@gnu.org> <87y1gzzvec.fsf@localhost> <838r8zadls.fsf@gnu.org> <87v8c3pt57.fsf@yahoo.com> <83y1gz8xjm.fsf@gnu.org> <87pm2bps2m.fsf@yahoo.com> <83sf778wm4.fsf@gnu.org> <87leczpr2a.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22066"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@posteo.net, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 21 16:11:35 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 1qjKP0-0005dP-SZ for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Sep 2023 16:11:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjKNt-0005gg-Ro; Thu, 21 Sep 2023 10:10:25 -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 1qjKNs-0005eZ-0b for emacs-devel@gnu.org; Thu, 21 Sep 2023 10:10:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjKNr-0001iU-N9; Thu, 21 Sep 2023 10:10:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=E4EMxs5Yo7KbrddDnzfzZ99RwfTDipdyORD4qg3FQAk=; b=RFNVAVNAhyyS qX9m3FdyiKd2M+XOAlK/mPJ76bA5siyUCwTxfjjgyeYdne0OaSFs/pKMDqIGFWuEX29OkMiI5SHuZ /vpP8wHaKMK8CE2MaIT8j+1weWp79W1+BeQgCGTV0RJmfWzPDeTSVxFfYVN/EpL95fc2XwUs3Nv5b 9K82XerjIeBlYloIcuEMAyd7p4cOgu6mAQuWdW2Uk06BsGR+QEGfyM2JTg2SHYaw02u1eKQ8KfoNf wpw+9Zjgsvd71AiZhSVwG5P111LEKjfoWJojAeaaCopqsXDoJVUTmgcZrfWRtOZ53L1sg7DDpq+cA xSLC80I7TDWPKpa5qBAFuw==; In-Reply-To: <87leczpr2a.fsf@yahoo.com> (message from Po Lu on Thu, 21 Sep 2023 21:57:17 +0800) 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:310918 Archived-At: > From: Po Lu > Cc: yantar92@posteo.net, emacs-devel@gnu.org > Date: Thu, 21 Sep 2023 21:57:17 +0800 > > Eli Zaretskii writes: > > > And when this happens to globals defined in C, is it handled in the > > same way? > > Yes, it is. The underlying implementation is different (as it must > account for forwarding), but the effect is the same. OK, that's what I was asking from the beginning. I though there was some significant difference.