From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Should native compilation be enabled by default? Date: Fri, 01 Mar 2024 22:08:58 -0500 Message-ID: References: Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7499"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, acorallo@gnu.org, stefankangas@gmail.com, emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 02 04:10:52 2024 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 1rgFlz-0001mA-Jw for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Mar 2024 04:10:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgFlM-000805-3l; Fri, 01 Mar 2024 22:10:12 -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 1rgFkC-00077t-N8 for emacs-devel@gnu.org; Fri, 01 Mar 2024 22:09:00 -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 1rgFkC-0004sh-EX; Fri, 01 Mar 2024 22:09:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=4CfBnsWoOcyWSHUklE0ZLKuGUKTU6xJfm0eg0w4zK+k=; b=KchbAI8+MSwq VV9xwHgh7wnCtAlApIIY05fW96uVMrW38gi3lS8FO2dYxgZ94bkTVUH7k+M28mTqkeD602yu8xWlq +HwmgPXxyxx2vnMbsVNKpkrLreTq+SN9/QQmKdHu+5uIw/MIyyYwHUjbQKnkIquDz4oa0dSkRhkNm rYZbOphD81lFvJTUKzMBPAex6Er2josIG0zGXBDBJuPR4K/897NyM2FLk/o+CxYpsbuAieK3coylc GJszSxXA2+SOJmCAvjEvwq6XbKpNBmfuUggXXmhNBCPuG5D70IgpxjlPBGBfuOaHk/bRe0AySstkG q1ItMrceEFQ62oDzI/WSRg==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rgFkA-0001Dn-Eo; Fri, 01 Mar 2024 22:08:58 -0500 In-Reply-To: (message from Andrea Corallo on Thu, 29 Feb 2024 05:56:31 -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:316688 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] Should native compilation the default -- ever? Is that the right direction to go? That is a bigger question than how we might schedule the work. It calls for thought. Enabling native compilation has disadvantages as well as advantages. Is it wise for the choice be controlled by whether libgccjit is installed? I don't think so. If your machine has libgccjit installed because you installed some unrelated program which uses libgccjit, is it right for that to control this decision about building Emacs? I don't think so. The possible answers for the question ae not just "yes" and "no". Intermediate anwers are possible too. For instance, one choice could be "sometimes". That would build the capacity to do native compilation, but would actually do this by default only on certain files. We would do that for files whose users tend to want them to be faster. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)