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: Sun, 02 Oct 2022 16:51:12 -0700 Message-ID: <87v8p1aiof.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38272"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Rob Browning , monnier@iro.umontreal.ca, david@tethera.net, emacs-devel@gnu.org, akrl@sdf.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 03 01:52:12 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 1of8kk-0009hW-Fb for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Oct 2022 01:52:12 +0200 Original-Received: from localhost ([::1]:54940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1of8kj-00005H-AR for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Oct 2022 19:52:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of8ju-0007ab-ME for emacs-devel@gnu.org; Sun, 02 Oct 2022 19:51:18 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:50689) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of8js-0006jD-OV; Sun, 02 Oct 2022 19:51:18 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 3364C5C00AC; Sun, 2 Oct 2022 19:51:14 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 02 Oct 2022 19:51:14 -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=1664754674; x=1664841074; bh=jg yFf8vrOcR+oP9eG9+tCYD/EjqSehMT1JM44SGeVZY=; b=f7Jnr3pOE3UGIEwhgX QLeUPL21EeHpHvaullrfKYd+JJVW9kUYS6kFzN1ghu8CagKXFmTFPRXNY09gdymz 1QCiQyP4wtKOiWGMOlfZJNjqeIF5IfasGsLtCXVMHOopllrd2AHKJ2G/AlumbupD r8vtEShs6FqlxX86duZCPNuEBHw42nq52ZbptluKzA7Q4Cf2dgoqjz61PLZCmjLr iBKCYoLD25NiKgqPIEI3vCJ1I09v2v9h82ekrP1p149obIlMPtv67XNlY1Mo5jKr IPC1wPFtFp7ncBBbBKIpcjzF358NoABFoHNA8EDyJQR9hoXfxc8CmvGgbYjZ6ToL Xx1A== 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=1664754674; x=1664841074; bh=jgyFf8vrOcR+oP9eG9+tCYD/EjqS ehMT1JM44SGeVZY=; b=FHSb1X/KeN0cVFU07ZzJ4W8kKl1I6CQ2qGSt+5Zx2SiL zBdt4AA39iapR0PU/KWZ22sKsOWcjMG50hrCHbnFjZxuwMHG+xBWsqesvNfuMyKr FslqXhjCeNmURNJAjClpEYyfHrzP2vCRU3LdThJk9WsHClfG6oFiiw9pAZ7TFMzt tzr2EjKFgsWOUfKwpaAtO8SzCuP4Qt0Pcn//OOJ/j1CGKaOiiTnSSXw7Yo+c+FXA 5N6Sg9ADUT5QQN6WUmzbXGth/Tel3jBSQJiSKLCOfnqYtM1El5n1Kzb4swkS2thR GIhf/R8D8g5A/yZAcU5Ra5rxwiZuUH3/0/EK7sdAGA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeehkedgvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffffkfgggtgesthdttddttdertdenucfhrhhomhepufgvrghn ucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqe enucggtffrrghtthgvrhhnpedtffdvffeuleeuvdetkedvveehgfehvdegvefghfevudek geegleevgeejkeetkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: Feedback-ID: i23c04076:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 2 Oct 2022 19:51:13 -0400 (EDT) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id 8C42E7E37D9; Sun, 2 Oct 2022 16:51:12 -0700 (MST) In-Reply-To: <83sfk6ahty.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 02 Oct 2022 08:57:13 +0300") Received-SPF: pass client-ip=66.111.4.25; envelope-from=spwhitton@spwhitton.name; helo=out1-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.01, RCVD_IN_MSPIKE_WL=-0.01, 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:296715 Archived-At: Hello, On Sun 02 Oct 2022 at 08:57AM +03, Eli Zaretskii wrote: > The reasons which you mention in favor of AOT native compilation don't > sound serious enough: I see no problem in having the compilation > happen only when it's needed in those cases. Battery consumption > doesn't seem very relevant, because JIT compilation will happen when > the system is used, not when it sleeps. And it is entirely not > guaranteed that by compiling everything you will save power in the > long run, because there are good chances you will be compiling stuff > that won't be used for a long time. Without quantitative data of > long-term power usage on which to base the conclusions, I don't see > why you should a-priori assume that compiling everything from the > get-go should use less power. Same goes for disk space by multiple > users. The point with battery consumption is not about running vs. standby. The issue is that while users expect that running apt-get will drain the battery, they expect that once apt-get is done, the only battery-hungry processes are ones they start themselves. Laptop users typically avoid running apt-get without mains power plugged in. If I do an 'apt-get upgrade' then afterwards my CPU will be churning away compiling addon packages, so I can't just unplug. -- Sean Whitton