unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: rms@gnu.org, arthur.miller@live.com, 43269@debbugs.gnu.org
Subject: bug#43269: 28.0.50; [feature/native-comp] provide a user feedback on Emacs being native compiled
Date: Wed, 09 Sep 2020 15:19:58 +0000	[thread overview]
Message-ID: <xjfv9gnnfj5.fsf@sdf.org> (raw)
In-Reply-To: <83h7s7kpfr.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 09 Sep 2020 17:14:16 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Richard Stallman <rms@gnu.org>
>> Cc: akrl@sdf.org, arthur.miller@live.com, 43269@debbugs.gnu.org
>> Date: Tue, 08 Sep 2020 23:45:06 -0400
>> 
>>   > As mentioned on the bug list, I'd prefer if user could defer native
>>   > compilation to some later time, so as to avoid making the Emacs build
>>   > take hours, especially on slow and low-end machines.
>> 
>> I wonder if I would ever see any benefit form the speedup of native
>> compilation.  I hardly ever notice waiting for Emacs to do computation.
>> But I would find a big slowdown in building to be a pain.
>> 
>> Maybe I would prefer to turn off native compilation, pure and simple.
>
> I share some of these feelings, FWIW.  Andrea's work is, of course,
> commendable and the results will be very welcome when they land on
> master, but I'm disappointed by the high price we need to pay for this
> feature, both in complexity (notice the long discussions of where and
> how to store the *.eln files, and how to handle recompilation and
> reloading), and in compilation times.  Having the single-core
> compilation times increase from 10-15 min to several hours is
> ... extreme.  (And before you say no one runs this on a single core: I
> sometimes do, when parallel builds get in the way of debugging some
> problem.)  And we will probably bump into additional issues down the
> road.
>
> (How come it's so easy and seamless in Guile?)
>

Hi Eli,

the native compiler improved considerably the compilation speed with
time.  I just took a measure at today's status native compiling only the
dumped image (what is going to be default when native compiling).

On my dev machine vanilla Emacs uses 12m tot CPU time for a compilation
from a fresh repo. The same native compiling takes 30m tot CPU time so
IMO it is not terrible.

Regarding the complexity I don't know, I guess it took some message to
decide how to have it working but now we are there.  It looks to me way
simpler then deciding Emacs defaults :)

For Guile I have no idea if it was simpler to implement or discuss.  I'm
not a Guile expert so I may be inaccurate but I think they can native
compile with a simple lightening based jitter.  This let me think they
can't save or reuse the compilation output, nor dump it given everything
happens in memory.

Regards

  Andrea





  reply	other threads:[~2020-09-09 15:19 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-07 10:16 bug#43255: 28.0.50; feature/native-comp void-function subr-native-lambda-list arthur.miller
2020-09-07 12:39 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-07 13:54   ` bug#43255: Sv: " arthur miller
2020-09-07 14:28   ` Arthur Miller
2020-09-07 16:34     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-07 16:54       ` Eli Zaretskii
2020-09-07 17:19         ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-07 19:11           ` Eli Zaretskii
2020-09-07 19:24             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-08  2:25               ` Eli Zaretskii
2020-09-08  4:26                 ` Arthur Miller
2020-09-08  5:04                   ` Eli Zaretskii
2020-09-08  7:47                     ` Stefan Kangas
2020-09-08 14:27                       ` Eli Zaretskii
2020-09-08 14:54                         ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-08 15:25                           ` Eli Zaretskii
2020-09-08 16:02                             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-08 16:21                               ` Eli Zaretskii
2020-09-08  8:03                     ` bug#43269: 28.0.50; [feature/native-comp] provide a user feedback on Emacs being native compiled Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-08 14:30                       ` Eli Zaretskii
2020-09-09  3:45                         ` Richard Stallman
2020-09-09  7:46                           ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-09 14:23                             ` Eli Zaretskii
2020-09-09 14:14                           ` Eli Zaretskii
2020-09-09 15:19                             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2020-09-09 16:10                               ` Eli Zaretskii
2020-09-09 16:32                                 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-09 17:17                                   ` Eli Zaretskii
2020-09-09 18:15                                     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-09 19:02                                       ` Eli Zaretskii
2020-09-09 21:51                                         ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-10  3:26                                           ` Eli Zaretskii
2020-10-17  6:35                                             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-17  7:29                                               ` Lars Ingebrigtsen
2020-10-17  7:47                                                 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-17  8:00                                                   ` Lars Ingebrigtsen
2020-10-17  8:18                                                     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-17  8:26                                                       ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-17  9:09                                               ` Eli Zaretskii
2020-10-17 10:25                                                 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-10-17 11:17                                                   ` Eli Zaretskii
2020-10-17 18:48                                                     ` Arthur Miller
2020-10-17 18:54                                                       ` Eli Zaretskii
2020-10-17 19:21                                                         ` Arthur Miller
2020-10-17 19:34                                                           ` Eli Zaretskii
2020-10-17 19:45                                                             ` Arthur Miller
2020-10-17 19:02                                                     ` Corwin Brust
2020-10-17 21:20                                                       ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-10 12:16                                   ` Lars Ingebrigtsen
2020-09-09 16:48                                 ` Stefan Kangas
2022-04-28 10:32                       ` Lars Ingebrigtsen
2020-09-08 10:38                     ` bug#43255: 28.0.50; feature/native-comp void-function subr-native-lambda-list Arthur Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xjfv9gnnfj5.fsf@sdf.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=43269@debbugs.gnu.org \
    --cc=akrl@sdf.org \
    --cc=arthur.miller@live.com \
    --cc=eliz@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).