From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Suppressing native compilation (short and long term) Date: Thu, 06 Oct 2022 02:55:49 +0200 Message-ID: <877d1d22ju.fsf@gnus.org> References: <87bkqxf1ij.fsf@tethera.net> <87lepym6ok.fsf@trouble.defaultvalue.org> <877d1i9h7k.fsf@gnus.org> <83edvqyr3q.fsf@gnu.org> <874jwl8e4p.fsf@gnus.org> <87pmf64beo.fsf@gnus.org> <87h70i4a46.fsf@gnus.org> <87czb648r9.fsf@gnus.org> <874jwi47l6.fsf@gnus.org> <87zgea2sgv.fsf@gnus.org> <87r0zm2qpl.fsf@gnus.org> <87ilky2khe.fsf@gnus.org> <87o7up26dr.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="7787"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , rlb@defaultvalue.org, monnier@iro.umontreal.ca, david@tethera.net, emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 06 02:57:36 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 1ogFCi-0001ql-3x for ged-emacs-devel@m.gmane-mx.org; Thu, 06 Oct 2022 02:57:36 +0200 Original-Received: from localhost ([::1]:46902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogFCh-00015Q-1l for ged-emacs-devel@m.gmane-mx.org; Wed, 05 Oct 2022 20:57:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogFBF-0008H5-Sc for emacs-devel@gnu.org; Wed, 05 Oct 2022 20:56:06 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:53152) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogFBA-0001b4-Vr; Wed, 05 Oct 2022 20:56:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=cjjajYR38Bzi3BAVnwThARf3GLcMVHdnjR67K5gHzwA=; b=Z9OXHmqPmZjJ8d1gy24aAVPAO7 Anlssgrw8owHmNsjxxkbhWG14g6nPOYedH0SM5A5azqzNPuvhVeoxplrKdX0kzhRluMjuD1dwv7d0 Bb1bkSPMyeUoB59aSJTgsUkZbOiIb0QD7TRc9GjCaRqxdjLzLNy3JwWKZ8OU/j8eJtJ0=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogFB0-0005ln-6g; Thu, 06 Oct 2022 02:55:52 +0200 In-Reply-To: (Andrea Corallo's message of "Thu, 06 Oct 2022 00:45:49 +0000") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEWwaVXEe2PMj0k5 MjC/t63///9NXWAgAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YKBgAhDOY7TIoAAAGBSURBVDjLhZON jcMgDIVNnQGAZIDCBFTOAKnC/jOdfzCX9CqdVTXBH88PBwCA9C3i9/S/AEJK9S+oEUKpteZUbiDX BFUi1w9Q8tPy9bPUoz6fgZXZFVlBhMcDtBsGVo3/FWjw0ELWcQFhgurAyAQiAEByoJXNHUniAjwY nAqSVZqx0j5AvCtW2gZIVwEb994HSOE3y74MEBXEYE4SRK33Nw4FJxq1JgCpEcsazJWj5gHf5H18 gGU0CGiOotZoibP8i+ShIII47AeXuoGIoK8MNqJRicvCwe8v8+jUwpAweMtKbbBwQ1zUFeQFpOSh bmqC05E7JhxqHiEZA1Ugvc5Blu3UmZsAWcU6FL0f0vmr4wBWa1161yl7P8Gm7vbwhS8TkD23xUYs dLC6h07t4tH4M+y2Ca0dm24CbzqD7mtttzMxv831aPHpGB6/Wb8kN5BzGYd9HhoFl1uQCkg9uWd+ CbRaqcUED0tnc8g8bYIYbPJQTg/3UVAu5lfmHd4j+iX6Aadze1MT+iymAAAAJXRFWHRkYXRlOmNy ZWF0ZQAyMDIyLTEwLTA2VDAwOjMzOjEyKzAwOjAwPdoxZQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAy Mi0xMC0wNlQwMDozMzoxMiswMDowMEyHidkAAAAASUVORK5CYII= X-Now-Playing: Catholic Discipline's _Underground Babylon_: "Everyone Dies Laughing (Hong Kong Cafe, Jan 1980)" Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, SPF_HELO_NONE=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:297038 Archived-At: Andrea Corallo writes: > The rational is that "tipically" batch executions are short in time, so > spawning there native async compilation would be a waste of cycles if > they do not complete in time. I think no one has statistical prove of > this, but the rational was at least discussed and I believe agreed here. Sure, sounds reasonable as a default, at least. But perhaps there should be a way to allow JIT in --batch? It looks like currently the only way is to set `noninteractive', which has wider side effects. Yet Another Variable here would be possible, but perhaps some other mechanism would be nicer. Hm... Perhaps inhibit-automatic-native-compilation should be refashioned into something else, like `native-compilation-types' or something, and would default to 'all in non-batch, but could be 'force to force it even in --batch? (And possibly also 'trampoline to save trampolines without doing any more JIT-it, like Stefan M sort of suggested.)