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: scratch/comp-static-data 5aa3db2f11: comp: Add support for compiling elisp constants into static data. Date: Sun, 20 Nov 2022 09:37:27 +0200 Message-ID: <83zgcm5b60.fsf@gnu.org> References: <166844679660.19180.3470364122428955894@vcs2.savannah.gnu.org> <20221114172637.78215C0E4C7@vcs2.savannah.gnu.org> <871qq5hxf9.fsf@yahoo.com> <9c27dd84e3298e2ed979415016f2db75d1cef882.camel@gmail.com> <83zgcobr9x.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25485"; mail-complaints-to="usenet@ciao.gmane.io" Cc: akrl@sdf.org, luangruo@yahoo.com, emacs-devel@gnu.org To: vibhavp@gmail.com, rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 20 08:38:09 2022 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 1oweu1-0006PS-7y for ged-emacs-devel@m.gmane-mx.org; Sun, 20 Nov 2022 08:38:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owetL-0005zN-6k; Sun, 20 Nov 2022 02:37:27 -0500 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 1owetJ-0005z8-OL for emacs-devel@gnu.org; Sun, 20 Nov 2022 02:37:25 -0500 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 1owetJ-0001kx-EJ; Sun, 20 Nov 2022 02:37:25 -0500 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=Q95kssPzISubrLIRZ51+eChvgooDO2r6Wt53Q0LdiH4=; b=OlEC591xynWC FquaCmqoSRMYMgxLxRsgbNNwhzu9AITD1yUJtAnkxQWJuBqIW6aCAqaytupldi29PBxUIWKyina93 eF3XWDQ3VK6D35SIIAKDPvkgzg3epRD0Wb9bCfueqbAO6AZ2CVpDjRARHOlxQOCQ+0TAIwlAt1dTt 5P9H7bYrL+NNbbTuu+sk7ieUZT8BofMA7p/DiJyUKu3YlMSLVkDe555SJFykVZujHjbhur3FUxNyt yWFxFCNfmww6jxVFx4dunwH1AXMnX/wMnhloZu1wCwF9d0Z2lszLWR9gK5HIOFUbPQgdOHqf/G7PL PT+T3yarJXcFVTlxI+PXhg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owetC-00079M-KA; Sun, 20 Nov 2022 02:37:19 -0500 In-Reply-To: (message from Richard Stallman on Sat, 19 Nov 2022 20:15:33 -0500) 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:300233 Archived-At: > From: Richard Stallman > Cc: vibhavp@gmail.com, akrl@sdf.org, luangruo@yahoo.com, > emacs-devel@gnu.org > Date: Sat, 19 Nov 2022 20:15:33 -0500 > > > I'm not aware of any aspect of the change which would cause crashes in > > these cases. > > It is possible I misunderstood what the change was for. The message > seemed to say that it would put the values of variables defined with > `defconst' into read-only memory. If there are cases in which that > affects the program's execution, I expect it will cause a failure of > some sort in those same cases. I'd need to understand what does "read-only memory" mean in this context. Does the code use some memory-protection capabilities to enforce that? Or does it do something else? Vibhav, please chime in and help us understand what the code does.