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: Native compilation on as default? Date: Fri, 09 Jun 2023 14:23:40 +0300 Message-ID: <83legs281v.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13092"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 09 16:38:38 2023 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 1q7dG9-00037r-0F for ged-emacs-devel@m.gmane-mx.org; Fri, 09 Jun 2023 16:38:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7aDN-0001AW-GJ; Fri, 09 Jun 2023 07:23:33 -0400 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 1q7aDM-0001AL-7i for emacs-devel@gnu.org; Fri, 09 Jun 2023 07:23:32 -0400 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 1q7aDL-0000xD-VU for emacs-devel@gnu.org; Fri, 09 Jun 2023 07:23:31 -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=I32LThXCpvJ8Tzmc3uwbLZp59509xRs5Au2f/2g0Ly4=; b=Y4AXtXIirtiQ 0+iCK7sg66T+lEZkfxmI3uGkxeJ6WjW6uDsLgEclp6a/xO/1Mw2r2Zd9MgV/o2Uz9F74JmAFMOvLt NqTGRZx6PO77tGqSDohIsxwjV2GoW4dMNNF2ToG0UlYy1ZUE8mMZ8QDTNatX0CZqov1tFJBqF1d1p +kbrXF3/qHc+6WQQzQ//uKpFN7D271tQ2Dj7Pvx7gEXdVtyDChreIjSmAbEZD9w9u9CFER7/f+SgK U7P7yHt9WedeXKDpEWf+7qIZvHOrgNpvmGKbRGQ34MoR07ThTxkmKsaFrkNWDxZHN8Ycp1nzEurN/ MSs5FDAOzy5Fd0Cge8Gvxw==; Original-Received: from [87.69.77.57] (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 1q7aDL-0005Sz-Et; Fri, 09 Jun 2023 07:23:31 -0400 In-Reply-To: (message from Andrea Corallo on Thu, 08 Jun 2023 04:44:12 -0400) 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:306711 Archived-At: > From: Andrea Corallo > Date: Thu, 08 Jun 2023 04:44:12 -0400 > > native compilation was off by default in 28 and same will be for 29. I > believe the 28 series proved this feature to be stable. > > Also I read a number of dristros (Fedora, Debian, openSUSE, Arch, > Gentoo, NixOS, Guix) offer Emacs with native compilation on. > > What about having it on as default for emacs 30? In case two scenarios: > > 1- On by default when libgccjit is present otherwise off. > > 2- On by default and if libgccjit is not present we raise a complain at > configure time, the user can either install libgccjit or manually > indicate --with-native-compilation=no. > > WDYT? I'd like to wait with this decision until after Emacs 29.1 is out. We made several non-trivial changes in native compilation in Emacs 29, so I'd like to see how it fares and how it is received by the community. This decision isn't urgent yet, since Emacs 30 will not be released soon enough to begin worry now.