From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: Should native compilation be enabled by default? Date: Fri, 15 Mar 2024 12:24:33 -0400 Message-ID: References: <86sf19p0hw.fsf@gnu.org> <13305.117729918$1709671403@news.gmane.org> <87y1aku44q.fsf@dataswamp.org> <87wmq3vf57.fsf@yandex.com> <877ci3iiwj.fsf@localhost> <87sf0rvdpt.fsf@yandex.com> <87le6jvd1r.fsf@yandex.com> <87frwrfrlv.fsf@dataswamp.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="18620"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 15 17:25:12 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 1rlAMp-0004YA-Jr for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Mar 2024 17:25:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlAMF-0003bg-UM; Fri, 15 Mar 2024 12:24:35 -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 1rlAME-0003bY-Ql for emacs-devel@gnu.org; Fri, 15 Mar 2024 12:24:34 -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 1rlAME-0004JJ-Ip for emacs-devel@gnu.org; Fri, 15 Mar 2024 12:24:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=hJ4W3jfiQprd9Lbtq/7vLzybN59avWBaFQH4Dbt4tkw=; b=denSJ1AVGPqI2XSI/vDd Ny1oy7SCSZja5+GsSKsoQjPcy4mslFM/LjgDPFV6Fpbmp37fcxV7mNI2NKy2bgpdB5/O+sxFnokgd FtOyP+y5EC8a8c0Bv4sFazK15bxFK2SI5wIYGh/5/adrX6Vy07VU479ouTOfUkm3nW+rpYFdrgjES tpT1lZUKEquXu+ubD7PDA0dM7CSmpv49o9aUAe6XzukVVR9Um8bxlWw8qJFSyF3K5YGrpw+B9yUP4 0NfOC2E6ETTxAltvu9y6qWYQQxvKXBXSOhy0MF5nmucb2moqIeaa41b7N6QxFDveZhLUyZ+iTCSIa xp/UwaFBPyXuJw==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rlAMD-0004Ez-Bg for emacs-devel@gnu.org; Fri, 15 Mar 2024 12:24:34 -0400 In-Reply-To: <87frwrfrlv.fsf@dataswamp.org> (Emanuel Berg's message of "Fri, 15 Mar 2024 16:21:32 +0100") 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:317081 Archived-At: Emanuel Berg writes: > Colin Baxter wrote: > >> My argument is against the notion that default native >> compilation is a "no brainer". I suggest it's a "some >> brainer". There are issues about what libgccjit flag to pass >> when compiling, as was pointed out in the link, whether two >> years old or not. > > The installation and compilation process must always be made > as simple and unobtrusive as possible for the user, avoiding > the overdose of messages. > > That is the one concern I can think of with native > compilation. > > I configure like this, > > --with-native-compilation=aot > > then installation takes a little longer but you don't get all > the messages later on. One gets messages only if a file being compiled has issues, BTW since 8e5baaddec2 we are by default way more selctive on what we report during native compilation so I don't think this problem still exists. > Since everything is are to be compiled anyway, I don't see why that > has to be done little by little. Better to just do it once and be > done with it IMO. Not everything needs to be compiled unless one needs to load everything. Andrea