From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.devel Subject: Re: Suppressing native compilation (short and long term) Date: Mon, 03 Oct 2022 11:21:22 -0700 Message-ID: <87czb8ahul.fsf@melete.silentflame.com> References: <87bkqxf1ij.fsf@tethera.net> <8335c9dkyf.fsf@gnu.org> <83tu4odez7.fsf@gnu.org> <871qrrpkgx.fsf@trouble.defaultvalue.org> <834jwnbi6c.fsf@gnu.org> <87mtafnun5.fsf@trouble.defaultvalue.org> <83sfk6ahty.fsf@gnu.org> <8735c6b0wo.fsf@gnus.org> <87y1ty9lha.fsf@gnus.org> <87lepym6ok.fsf@trouble.defaultvalue.org> <877d1i9h7k.fsf@gnus.org> <83edvqyr3q.fsf@gnu.org> <874jwl8e4p.fsf@gnus.org> <87ill16t3a.fsf@gnus.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="28578"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , Eli Zaretskii , rlb@defaultvalue.org, david@tethera.net, emacs-devel@gnu.org, akrl@sdf.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 03 20:41:11 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 1ofQNK-0007HA-Ju for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Oct 2022 20:41:11 +0200 Original-Received: from localhost ([::1]:33100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofQN9-0002Ii-EH for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Oct 2022 14:41:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofQ4J-00012Z-OE for emacs-devel@gnu.org; Mon, 03 Oct 2022 14:21:51 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:43649) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofQ4D-0001ZK-KS; Mon, 03 Oct 2022 14:21:27 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3D8555C0107; Mon, 3 Oct 2022 14:21:24 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 03 Oct 2022 14:21:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1664821284; x=1664907684; bh=l5 2wo19v1p17SMlebiPIaVXsOP9TwlfL+MUfHKkTrkI=; b=lH6A2l6EvwAMU+eVCL H/yaUIF+08SgKfeOVtAPOcaDFDf/GYnZPve98qMH3AR/MCYMTdnv4dqA7+u488Aw kMjzTS9qRjaGnFZxLUG5SmRXrFWpwqzwUgq63dZs1A9R84s0k4wZBsIt3KBQ6oab wnVtYit9uEshafFxHTr21FoC9p7Q4QhyJAwSpVk4TXUW9nEGUWLnN1lcxXyeM2O5 m8RFTcj+Md8Bct6eavcvI6PLQGLdWzBS6H25M+igME1z+CF96i//HZh2myKu4ReX eF2kK7q39IFq7NZDJfz8m8wuprgieFon3VKLEzrBjlff3Aram4En0oguHVt7RoLf d9iw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1664821284; x=1664907684; bh=l52wo19v1p17SMlebiPIaVXsOP9T wlfL+MUfHKkTrkI=; b=sqNVwIoMIBmyXwF1Z2pYsedofGq5Hprmsw2+5CFQU/Be 22IWGLokJxayb3suvjsmG6hzIYv5+pFPFpLlwxZ/aPpwz/RGPsvvfkC69L187qd0 a7pzxnRUsNpWCZSjkBs9pkUHLzZa1lrDveiupXwnr0nGEmfG1iFZIipCJoi1jO2P ewyRIbKqh1sEboxQDmWvAYP3zdD8CeB6yAdYMXU9oJ6Z2xRRafwXNdGbBgEb9BWF 8GCP5kdmrDd2KIjguVzXIf3jwuiefcD9NqyqEQmn50LXIFS+cUkpIJdmTq19uT8Y oCweqB9bBkBoCRQNSn1wpPTXiS78RoNCw25v/KzgMg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeehledguddvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufgjfhffkfgfgggtsehttddttddtredtnecuhfhrohhmpefuvggr nhcuhghhihhtthhonhcuoehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg eqnecuggftrfgrthhtvghrnheptdffvdffueeluedvteekvdevhefghedvgeevgffhvedu keeggeelveegjeekteeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgv X-ME-Proxy: Feedback-ID: i23c04076:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 3 Oct 2022 14:21:23 -0400 (EDT) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id 1F9307EE403; Mon, 3 Oct 2022 11:21:22 -0700 (MST) In-Reply-To: (Stefan Monnier's message of "Mon, 03 Oct 2022 09:07:52 -0400") Received-SPF: pass client-ip=66.111.4.26; envelope-from=spwhitton@spwhitton.name; helo=out2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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:296781 Archived-At: Hello, On Mon 03 Oct 2022 at 09:07AM -04, Stefan Monnier wrote: > AFAICT so far I've heard of two reasons to "disable automatic native > compilation": > > A) Avoid the "uncontrolled" (mostly in terms of *when* it happens) > resource usage associated with it (e.g. battery). > > B) Avoid writing to $HOME. > > For (A), I think that (setq native-comp-deferred-compilation nil) seems > perfectly sufficient (you can set it early in your (early) init file and if > every blue moon some native compilation still happens because of a file > loaded before that `setq` it shouldn't be a big deal). We'd also like to be able to compile and install system-wide -- it would be good to be able to benefit from native compilation without it happening by surrpise. -- Sean Whitton