unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Arthur Miller <arthur.miller@live.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Ulrich Mueller <ulm@gentoo.org>, emacs-devel@gnu.org
Subject: Re: Add a configure option for NATIVE_FULL_AOT?
Date: Tue, 17 Aug 2021 15:07:51 +0200	[thread overview]
Message-ID: <AM9PR09MB49770737A5AA336076C6199396FE9@AM9PR09MB4977.eurprd09.prod.outlook.com> (raw)
In-Reply-To: <834kbo6xm5.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 17 Aug 2021 15:53:38 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Ulrich Mueller <ulm@gentoo.org>
>> Cc: emacs-devel@gnu.org
>> Date: Tue, 17 Aug 2021 13:56:28 +0200
>> 
>> > Why would you want to do that?  It's in a sense against the original
>> > intent: Lisp files should only be natively-compiled when they are
>> > first needed, and stored under the user's home directory.  Otherwise,
>> > you will litter the system-wide directories with a lot of quite large
>> > binary files, which doesn't seem to be a good idea.
>> 
>> Storing them in users' home directories also means that every user has
>> to recompile them, and they will be present multiple times on the
>> system.
>
> No, only the users who need a file FOO.eln will compile it and have it
> in their eln-cache.
>
>> > I'd be interested to hear your motivation for using this possibility.
>> 
>> The motivation is to compile and install these files once system-wide,
>> instead of duplicating them in all users' directories. Conceptually they
>> aren't user specific but belong to the Emacs package.
>
> That's... not how this was intended to work.
>
> I wonder if anyone else has an opinion here.

We can set optimization level in init file, or early init, and that will
affect how lisp files are compiled, so for some advanced users
precompiled binaries are of not so much use.

For some less advanced users, maybe with slower computers, precompiled
binaries could save some time and computer resource.

I have personally no inclination for either yes or no, just wanted to
add some arguments to the discussion.



  reply	other threads:[~2021-08-17 13:07 UTC|newest]

Thread overview: 86+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-17  8:53 Add a configure option for NATIVE_FULL_AOT? Ulrich Mueller
2021-08-17 11:42 ` Eli Zaretskii
2021-08-17 11:56   ` Ulrich Mueller
2021-08-17 12:09     ` Lars Ingebrigtsen
2021-08-17 13:03       ` Eli Zaretskii
2021-08-18 14:44         ` Lars Ingebrigtsen
2021-08-17 12:53     ` Eli Zaretskii
2021-08-17 13:07       ` Arthur Miller [this message]
2021-08-17 15:32       ` Yuri D'Elia
2021-08-17 17:01         ` Eli Zaretskii
2021-08-17 17:12           ` Yuri D'Elia
2021-08-17 18:19             ` Eli Zaretskii
2021-08-17 18:33           ` Andreas Schwab
2021-08-17 18:42             ` Eli Zaretskii
2021-08-17 18:46               ` Andreas Schwab
2021-08-17 19:01                 ` Eli Zaretskii
2021-08-17 19:05                   ` Andreas Schwab
2021-08-17 19:09                     ` Eli Zaretskii
2021-08-17 19:36               ` Ulrich Mueller
2021-08-18  0:48                 ` Arthur Miller
2021-08-18  7:29                   ` Andreas Schwab
2021-08-18 15:43                     ` Yuri D'Elia
2021-08-19  0:57                       ` Arthur Miller
2021-08-19  7:04                         ` tomas
2021-08-19 21:17                           ` Arthur Miller
2021-08-20  7:20                             ` tomas
2021-08-20 12:06                               ` Arthur Miller
2021-08-20 13:13                                 ` tomas
2021-08-20 19:51                                   ` Arthur Miller
2021-08-20 20:06                                     ` tomas
2021-08-20 21:25                                       ` Arthur Miller
2021-08-21  6:44                                         ` tomas
2021-08-21 18:20                                           ` Arthur Miller
2021-08-19  7:13                         ` Eli Zaretskii
2021-08-19 21:01                           ` Arthur Miller
2021-08-18  2:23                 ` Eli Zaretskii
2021-08-18  4:53                   ` Tassilo Horn
2021-08-18 12:07                     ` Eli Zaretskii
2021-08-19  2:34                       ` Richard Stallman
2021-08-19  6:30                         ` tomas
2021-08-19  7:07                         ` Eli Zaretskii
2021-08-19  7:17                           ` Andreas Schwab
2021-08-19  7:46                             ` Eli Zaretskii
2021-08-19  7:27                           ` tomas
2021-08-19  8:09                             ` Eli Zaretskii
2021-08-19 10:05                               ` tomas
2021-08-19 10:51                                 ` Eli Zaretskii
2021-08-19 12:49                                   ` tomas
2021-08-19 12:52                                     ` Eli Zaretskii
2021-08-19 13:09                                       ` tomas
2021-08-18  7:04                   ` Ulrich Mueller
2021-08-18 12:12                     ` Eli Zaretskii
2021-08-18  7:33                   ` tomas
2021-08-18 12:14                     ` Eli Zaretskii
2021-08-18 13:32                       ` tomas
2021-08-18 13:45                         ` Eli Zaretskii
2021-08-18 16:22                           ` tomas
2021-08-18 16:26                             ` Eli Zaretskii
2021-08-18 16:34                               ` tomas
2021-08-18 16:43                                 ` Eli Zaretskii
2021-08-18 16:56                                   ` tomas
2021-08-18 17:12                                     ` Eli Zaretskii
2021-08-18 16:48                             ` Stefan Monnier
2021-08-18 17:00                               ` tomas
2021-08-18 17:17                                 ` Eli Zaretskii
2021-08-18 17:34                                   ` tomas
2021-08-18 19:43                                   ` Andrea Corallo via Emacs development discussions.
2021-08-19  1:19                                     ` Stefan Monnier
2021-08-19  7:11                                       ` Eli Zaretskii
2021-08-19  8:01                                         ` Andrea Corallo via Emacs development discussions.
2021-08-18 17:04                               ` Eli Zaretskii
2021-08-18 19:44                                 ` Andrea Corallo via Emacs development discussions.
2021-08-19  7:17                                   ` Eli Zaretskii
2021-08-19  7:52                                     ` Andrea Corallo via Emacs development discussions.
2021-08-18 14:11           ` Stefan Kangas
2021-08-18 15:54             ` Eli Zaretskii
2021-08-18 19:13           ` Gunnar Horrigmo
2021-08-18 19:24             ` Eli Zaretskii
2021-08-20  8:22               ` Gunnar Horrigmo
2021-08-20 10:47                 ` Eli Zaretskii
2021-08-20 13:06                   ` Gunnar Horrigmo
  -- strict thread matches above, loose matches on Subject: below --
2021-08-17 16:03 Tom Gillespie
2021-08-17 17:13 ` Eli Zaretskii
2021-08-17 21:52   ` Tom Gillespie
2021-08-18 12:04     ` Eli Zaretskii
2021-08-18  0:33 ` 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=AM9PR09MB49770737A5AA336076C6199396FE9@AM9PR09MB4977.eurprd09.prod.outlook.com \
    --to=arthur.miller@live.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=ulm@gentoo.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).