From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.devel Subject: Re: Enabling native compilation by default when libgccjit is present Date: Sun, 05 Dec 2021 16:54:02 +1100 Message-ID: <87r1ar4mi2.fsf@gmail.com> References: <83wnkm94oq.fsf@gnu.org> <87y251vdeh.fsf@gnus.org> <87lf11tlzf.fsf@gnus.org> <87r1atrsp9.fsf@gnus.org> <8735n85fa5.fsf@gnus.org> <87r1arskmq.fsf@gnus.org> <87r1arsjpu.fsf@yahoo.com> <87ilw3sjlr.fsf@gnus.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="31197"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.5; emacs 28.0.90 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 05 07:05:53 2021 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 1mtken-0007q9-LJ for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Dec 2021 07:05:53 +0100 Original-Received: from localhost ([::1]:59956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtkel-0001SJ-Od for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Dec 2021 01:05:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtkcC-0000ih-CU for emacs-devel@gnu.org; Sun, 05 Dec 2021 01:03:12 -0500 Original-Received: from [2607:f8b0:4864:20::532] (port=38783 helo=mail-pg1-x532.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtkc6-0004IL-Iy for emacs-devel@gnu.org; Sun, 05 Dec 2021 01:03:12 -0500 Original-Received: by mail-pg1-x532.google.com with SMTP id s137so7256671pgs.5 for ; Sat, 04 Dec 2021 22:03:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=84mhukHHFlfuK4h04FM9osjHU35V+c65buRWvgTs7QU=; b=h/vU3zS/4wEnRjaDVFwpXmjtf7IlyT2hSqkMdwjwUnJ0FCQ1bw6+WK/68Oq3vLgYyb edC6vOWRU6wVFkzvtl7af1Nfp+F96qa8VaM1IZKJv6gFCv4i42mo+XBOutCXAb6YI65H g20jnxnW0YojjqN9SWlXQEIMFKlcGhdYt5RiQde5PXxknhRrIrEXkznEtfGT4I7iXPXI kZZppUBX0NZ17wkYRnp8YjGBfECH6fxJXy/M1WMHo+lTWkmbJFoR3/IX6HmH87VcJs9K 90R4SfXOYElQbU0Kcr3tzCBgBR6ylou8IkW3JpEFJO/qKm/d1go2AvHHhQXoU8bKa0kI yVSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=84mhukHHFlfuK4h04FM9osjHU35V+c65buRWvgTs7QU=; b=mz8SjOwOEnSoSoi9+q7zAiXg+ItovI4OmzpAkP6e15rU5wKVeeJ9WX2NeDq9BZvERq TP1ugrhQqjckgzdx+5zA8Tm9TxbGE6dyuf1fb+8D+Njp2U1fh0x06Ojd8k0Wu199zmqv DYs7giv6+Xc6QUNg9Id7N3ZMrWJJit25ExCZwjLj4xaR6rIo7/JqTE6XUlYsraefL9q3 aYfmwgt+omZ/luaay/nRh7TJhPUnnqmkGt+NwCOaDO7GXCj32jcC1E0lloif0tGMlYa7 YiGdaS2tCq4vOxEZWULOC6PXV464xlmfadVpCd7DYbP8hYLNfBAx14qn6omNG2Ua/VLk J0vA== X-Gm-Message-State: AOAM531PmkcSHH7hVqdp5dUE6+oLU+XKF/dqocKYCcDIYvft9kQ20rbo YS34VCxFX5VAQStNWqmLqjphp0rOBdY= X-Google-Smtp-Source: ABdhPJyTZID4SiNNPDlZL34rYUkNxzfPntUNKwMuavgnHA0pLkDpYnisP0KpNIosYgrpi1iOap8ssA== X-Received: by 2002:a63:48:: with SMTP id 69mr12495208pga.479.1638684184588; Sat, 04 Dec 2021 22:03:04 -0800 (PST) Original-Received: from dingbat (2001-44b8-31f2-bb00-b2a4-98c2-11aa-1b70.static.ipv6.internode.on.net. [2001:44b8:31f2:bb00:b2a4:98c2:11aa:1b70]) by smtp.gmail.com with ESMTPSA id l9sm8433253pfu.55.2021.12.04.22.03.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Dec 2021 22:03:04 -0800 (PST) In-reply-to: <87ilw3sjlr.fsf@gnus.org> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::532 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::532; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x532.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:280963 Archived-At: Lars Ingebrigtsen writes: > Po Lu writes: > >>> Most distributions will probably release Emacs 28.1 with native >>> compilation switched on. >> >> Why is that so? Most distributions only build their Emacs packages with >> the default options. > > Several distributions have signalled that they want to ship Emacs with > native compilation switched on (and at least one said they're going to > be doing a full ahead-of-time build, if I remember correctly) -- > presumably because that'll give their users a faster Emacs. Does it actually give that much of a performance boost? It has been a couple of months since I tried native compilation in Emacs 28, but when I did, I noticed next to no performance improvement at all. In fact, all I did notice was lots of warnings and significant delays whenever I updated packages. I stopped using it partly because of all the warnings and delays when updating packages, but mainly because I seemed to run into a number of issues with org mode (most of which I think have now been addressed). I've actually never noticed any speed problems with Emacs. Where there are delays, it is due to the synchronous nature of what I'm doing rather than basic performance. Besides, the slowest component in my environment is the old bit of slow carbon using the keyboard :-)