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: Suppressing native compilation (short and long term) Date: Sun, 02 Oct 2022 20:30:56 +0300 Message-ID: <83zgeeyvxr.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14607"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, rlb@defaultvalue.org, david@tethera.net, emacs-devel@gnu.org, akrl@sdf.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 02 19:35:17 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 1of2s0-0003XD-K8 for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Oct 2022 19:35:16 +0200 Original-Received: from localhost ([::1]:49300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1of2rz-0003S5-ED for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Oct 2022 13:35:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of2nz-0005wZ-0J for emacs-devel@gnu.org; Sun, 02 Oct 2022 13:31:30 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43350) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of2ny-0006IS-L0; Sun, 02 Oct 2022 13:31:06 -0400 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=uFRU3QEgSZJQwNEhbP5cmLyDhnHCERfR9y2BPKEDmsY=; b=XXRFae0oy0kp jEy/EWw/x+fRfs+uYbnSxLK2CY5n+H3GaLZo9PMfyz2pVvRTKQrlmuWTbI4kQVqJ1HYekJAm32qbD JvqtIsWcADgDXqZ076IOiiZD89IG9zSI6q3A2x/bDts/mJ4MbQ35FcPXlI++8giLp9h6IW1snkn/f bl0FnMsbXFg9rcraTVFhQnGpme1MAl8LUVvwxcqEiem13h6K/+EUGZGtMLEvkWxZ5TAs7OdlGKgWk gGx+F81xBWXWhbrcKP7rs9FaJHAbzp8GFnuX0S9Bh94xVrrDsbfufsgqDmwUEORLUkR7EjmBz3G17 Vpy7XsLpDyoQOt78r/60Hw==; Original-Received: from [87.69.77.57] (port=4458 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 1of2ny-0001JM-3N; Sun, 02 Oct 2022 13:31:06 -0400 In-Reply-To: <8735c6b0wo.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 02 Oct 2022 19:17:27 +0200) 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:296657 Archived-At: > From: Lars Ingebrigtsen > Cc: Eli Zaretskii , Rob Browning , > david@tethera.net, emacs-devel@gnu.org, akrl@sdf.org > Date: Sun, 02 Oct 2022 19:17:27 +0200 > > Stefan Monnier writes: > > > But I think I agree with Rob that it makes a lot of sense in the context > > of Debian to eagerly native-compile the packages when they're installed > > via APT. > > I've always assumed that that's what distributions like Debian would > do. Which means that there should be an easy way to switch JIT off, but > I've just forgotten to add it. If everything is already natively-compiled, there's no reason to switch it off: it will simply not happen. OTOH, if for some reason an existing .eln file is incompatible with the user's Emacs (something that can happen easily on a multi-user system), having JIT compilation active is a clear advantage. So there's a net win in having it enabled at all times. In any case, we already have a way of switching off JIT compilation, at least for some situations which we considered. If there are situations which we didn't consider, we should consider them as well, but for that we need to understand the situation in more detail, something that no one presented yet in this discussion.