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: Thu, 21 Sep 2023 21:57:17 +0800 Message-ID: <87leczpr2a.fsf@yahoo.com> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37287"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: yantar92@posteo.net, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 21 15:58:41 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 1qjKCX-0009Yr-EE for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Sep 2023 15:58:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjKBh-0006fJ-Or; Thu, 21 Sep 2023 09:57:51 -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 1qjKBU-0006Zm-I4 for emacs-devel@gnu.org; Thu, 21 Sep 2023 09:57:41 -0400 Original-Received: from sonic315-20.consmr.mail.ne1.yahoo.com ([66.163.190.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjKBR-0006TN-1Y for emacs-devel@gnu.org; Thu, 21 Sep 2023 09:57:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695304650; bh=Z3yiBVKtXlqgvEIXaI2jEffARI1X7a/47F+VDjGHDl4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=BijkkTdLT1HFYex7LhgPr8YBbPykXa0DLKXkQyhAoFuv+HcqwMkGcO0CMaZ+D0sBzQ5ENmpWLnuT/7ZBH23VRMLqfrNjN6XHso21NQ5vheI2M3YkY8wzF6N6MfnK7SLsVFVpZwn55eRzzNajzlOVKebbSPs46nBjcw8aX8C9Dus6MBaNgVVYpl5kdEGirxmlFGYQxHoF6/vCEgqSqqkbix15OExT2kq34Dnx5nqTfBA5xgOZyOpIexIRS8kh5VPE+JpigNtyt7q9Wm33wqN3eIV+vReBduC6GOVEXGv2LuEe+wP9X1ifZHaIMGOT1Fv/vL+nau+FcNrK1wTGJLY2fA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695304650; bh=NJUDxN8+pcRb+Il8l19LedwGmkhtMiJo9FmledTbf8I=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=o3meHgsSqozy4N37HYt0BuYWqqGPjkJMATwYNOroNVvvE+68Wn1DhfcL9v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3l4PuoZBVX9Wkc_Qbk sniOnXU5PqvLB14tur77CavAJermhBEbOUJgDQ13Yg X-Sonic-MF: X-Sonic-ID: 16512061-5f57-44a2-8647-baf347a46378 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Thu, 21 Sep 2023 13:57:30 +0000 Original-Received: by hermes--production-sg3-55c667b499-f87gm (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 25375b4b7ee7cc01b721f2a14ea0525d; Thu, 21 Sep 2023 13:57:24 +0000 (UTC) In-Reply-To: <83sf778wm4.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 21 Sep 2023 16:49:23 +0300") 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.190.146; envelope-from=luangruo@yahoo.com; helo=sonic315-20.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=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:310914 Archived-At: 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.