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: Thu, 26 Oct 2023 09:44:35 +0300 Message-ID: <83wmv9hoh8.fsf@gnu.org> References: <83legs281v.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2857"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acorallo@gnu.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 26 08:45:08 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 1qvu7A-0000Wy-O0 for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Oct 2023 08:45:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvu6e-0001SX-9J; Thu, 26 Oct 2023 02:44:36 -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 1qvu6d-0001P6-GJ for emacs-devel@gnu.org; Thu, 26 Oct 2023 02:44:35 -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 1qvu6d-00086g-49 for emacs-devel@gnu.org; Thu, 26 Oct 2023 02:44:35 -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=owz7Zr6NwlVva+StSDvwYRT41Euj7muMIgosbmWpGf0=; b=KJ1ZDR3rD1Oo R9VZ5XKB/WYEBZ5D6URiCiuZK58nR+YfhMfkN/jJYOCydhk0Q5znx1mkv50J9DsaaTqPE24CUfrSi P+w3xS1Lf6ycV7tGk/0PJj05HsEF65WnKhMaFIHn4Y5qraVN2XdyNNlHRvzMhk9De8hkGHXCP6PH9 Vaj+f2xqEMOVcO15SjMWJH/ufBsFqLHWRfcCOvWLN5KbcBBDGauWxVJa8IonlIONjvH4lEIXP22/h PheoTHD+AFbCbVInrCSZmeCOsPcaPbQd2/+V40X/zl0Jo/NPM4CKe/vWdJdZTT9YMYNpmauvK26Z2 +/WHxI4H6mBZkflF4YJSjQ==; In-Reply-To: (message from Richard Stallman on Wed, 25 Oct 2023 22:27:09 -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:311884 Archived-At: > From: Richard Stallman > Cc: eliz@gnu.org, emacs-devel@gnu.org > Date: Wed, 25 Oct 2023 22:27:09 -0400 > > Building Emacs with native compilation is a lot more fragile > than without. I don't think I understand what you mean by "fragile". It is slower, but otherwise is stable and reliable. > Meanwhile, many users don't need it because Emacs is fast enough for > us without it. If you don't have libgccjit installed, the default build will not enable native compilation. As libgccjit is an optional part of GCC installation, people who don't care about native compilation should not be bothered by this default (if we decide to make it the default). > Theefore, we should not enable native compilation by default. If the above is the only problem, I see no reason to reject the proposal based on it alone, since the solution is easy and in most cases effortless. On the contrary, people who do want native compilation should invest some effort into installing libgccjit that matches their GCC version.