From: Eli Zaretskii <eliz@gnu.org>
To: tomas@tuxteam.de
Cc: emacs-devel@gnu.org
Subject: Re: Suppressing native compilation (short and long term)
Date: Sun, 02 Oct 2022 19:11:52 +0300 [thread overview]
Message-ID: <83h70m19yv.fsf@gnu.org> (raw)
In-Reply-To: <Yzm0Cg7wcoPlA8UY@tuxteam.de> (tomas@tuxteam.de)
> Date: Sun, 2 Oct 2022 17:53:46 +0200
> From: tomas@tuxteam.de
> Cc: emacs-devel@gnu.org
>
> > The advantage of using JIT compilation is that this is how the
> > upstream project meant it to be used, and this is how the defaults are
> > set. Any deviation from the defaults should have a good reason, and I
> > submit that such good reasons can only be based on actual usage, not
> > on theoretical presumptions. My recommendation is to use the default
> > JIT manner until and unless actual problems are reported by users.
>
> I see that, and this is the one view I mention above: the .eln are but
> a JIT cache, and each user (or instance, if there are more than one
> per user) has its own.
Let me be blunt: this is currently _the_only_ view of the Emacs
project. After a lot of deliberations, we didn't find any reasons for
alternative views. My suggestion is to try our view before concluding
that it doesn't fit some situations.
> > Exactly. So what is the problem with directories writable by all
> > users?
>
> User separation goes out of the window, and this is one important
> service the OS provides. To illustrate, one user could put malicious
> .eln files all other users would execute.
This is about installation writing files into a shared space on disk,
right? If so, this is something for the Debian packagers to figure
out, because doing that is their request. And anyway, I don't
understand how do *.eln files are different from *.elc files, which
are already written to shared disk space upon installation. What am I
missing?
> > > That's all fine, but then users wouldn't profit from the pre-compiled
> > > .eln.
> >
> > There's no profit, IME. There are only disadvantages: you are in
> > effect fighting against the Emacs defaults, for reasons that are
> > purely theoretical.
>
> I have the impression that some of that reasons are quite practical
> for Debian packagers.
I submit that those reasons were most probably derived from a broken
analogy with the *.elc files and with byte-compilation in general.
Not from actual usage experience. Native compilation looks
deceptively similar to byte compilation, but it isn't. So if
producing the *.eln files seems to contradict some Debian rules and
procedures, my suggestion is to talk to the upstream project, before
inventing solutions, because of 2 considerations:
. the problems may not be real ones, only perceived ones
. the upstream codebase might already provide solutions
> > > In a Debian-distributed Emacs (caveat: I'm compiling my own one!)
> > > there are .elc in /usr/share for all to use; due to the search path,
> > > a user still can install her own in a directory writable by that
> > > user and it will take precedence.
> > >
> > > Can you do the same for .elc?
> >
> > I guess you meant "with .eln files"? Yes, see
> > native-comp-eln-load-path, which was already mentioned here several
> > times.
>
> So that might be one part of the way out.
If one needs it. I don't think they do, and I don't recommend going
there.
next prev parent reply other threads:[~2022-10-02 16:11 UTC|newest]
Thread overview: 349+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-30 13:13 Suppressing native compilation (short and long term) David Bremner
2022-09-30 13:56 ` Eli Zaretskii
2022-09-30 14:33 ` David Bremner
2022-09-30 15:47 ` Eli Zaretskii
2022-09-30 14:55 ` Sean Whitton
2022-09-30 16:02 ` Eli Zaretskii
2022-09-30 15:32 ` Stefan Monnier
2022-09-30 16:06 ` Eli Zaretskii
2022-10-01 16:38 ` Rob Browning
2022-10-01 16:52 ` Eli Zaretskii
2022-10-01 20:42 ` Rob Browning
2022-10-02 5:57 ` Eli Zaretskii
2022-10-02 6:10 ` tomas
2022-10-02 6:44 ` Eli Zaretskii
2022-10-02 15:54 ` tomas
2022-10-02 16:02 ` Eli Zaretskii
2022-10-02 16:13 ` chad
2022-10-02 16:55 ` Eli Zaretskii
2022-10-02 17:13 ` Stefan Monnier
2022-10-02 17:24 ` Eli Zaretskii
2022-10-02 17:25 ` Rob Browning
2022-10-02 16:53 ` Stefan Monnier
2022-10-02 17:16 ` Eli Zaretskii
2022-10-02 18:12 ` Rob Browning
2022-10-02 18:40 ` Eli Zaretskii
2022-10-02 18:51 ` Rob Browning
2022-10-02 17:17 ` Lars Ingebrigtsen
2022-10-02 17:28 ` Stefan Monnier
2022-10-02 17:36 ` Lars Ingebrigtsen
2022-10-02 17:38 ` Eli Zaretskii
2022-10-02 18:17 ` Rob Browning
2022-10-02 19:08 ` Lars Ingebrigtsen
2022-10-02 19:15 ` Eli Zaretskii
2022-10-03 9:12 ` Lars Ingebrigtsen
2022-10-03 11:32 ` Lars Ingebrigtsen
2022-10-03 13:07 ` Stefan Monnier
2022-10-03 13:29 ` Lars Ingebrigtsen
2022-10-03 13:42 ` Stefan Monnier
2022-10-03 14:09 ` Lars Ingebrigtsen
2022-10-03 14:42 ` Stefan Monnier
2022-10-03 14:45 ` Lars Ingebrigtsen
2022-10-03 14:52 ` Stefan Monnier
2022-10-03 15:14 ` Lars Ingebrigtsen
2022-10-05 12:55 ` Andrea Corallo
2022-10-05 13:14 ` Lars Ingebrigtsen
2022-10-05 13:47 ` Andrea Corallo
2022-10-05 13:55 ` Eli Zaretskii
2022-10-05 14:08 ` Andrea Corallo
2022-10-03 15:18 ` [External] : " Drew Adams
2022-10-03 17:21 ` Eli Zaretskii
2022-10-03 17:39 ` Lars Ingebrigtsen
2022-10-03 17:52 ` Eli Zaretskii
2022-10-05 13:05 ` Andrea Corallo
2022-10-05 13:09 ` Andrea Corallo
2022-10-05 12:51 ` Andrea Corallo
2022-10-03 17:16 ` Eli Zaretskii
2022-10-03 18:21 ` Sean Whitton
2022-10-03 20:43 ` Stefan Monnier
2022-10-03 17:44 ` Eli Zaretskii
2022-10-05 13:18 ` Andrea Corallo
2022-10-05 14:01 ` Lars Ingebrigtsen
2022-10-05 14:17 ` Eli Zaretskii
2022-10-05 14:27 ` Lars Ingebrigtsen
2022-10-05 16:42 ` Eli Zaretskii
2022-10-05 17:08 ` Lars Ingebrigtsen
2022-10-05 17:15 ` Eli Zaretskii
2022-10-06 0:41 ` Po Lu
2022-10-06 0:40 ` Po Lu
2022-10-06 6:26 ` Eli Zaretskii
2022-10-05 14:25 ` Andrea Corallo
2022-10-05 14:29 ` Lars Ingebrigtsen
2022-10-05 14:48 ` Andrea Corallo
2022-10-05 14:58 ` Lars Ingebrigtsen
2022-10-05 15:12 ` Andrea Corallo
2022-10-05 15:24 ` Lars Ingebrigtsen
2022-10-05 15:36 ` Lars Ingebrigtsen
2022-10-05 16:10 ` Andrea Corallo
2022-10-05 16:13 ` Lars Ingebrigtsen
2022-10-05 17:58 ` Andrea Corallo
2022-10-05 18:28 ` Lars Ingebrigtsen
2022-10-05 23:25 ` Andrea Corallo
2022-10-05 23:33 ` Lars Ingebrigtsen
2022-10-06 0:45 ` Andrea Corallo
2022-10-06 0:55 ` Lars Ingebrigtsen
2022-10-06 6:33 ` Eli Zaretskii
2022-11-05 1:09 ` Juanma Barranquero
2022-11-05 6:44 ` Eli Zaretskii
2022-11-05 10:12 ` Dr. Arne Babenhauserheide
2022-11-05 11:19 ` Eli Zaretskii
2022-11-06 11:06 ` Max Brieiev
2022-11-06 16:31 ` Dr. Arne Babenhauserheide
2022-11-06 18:00 ` Stefan Monnier
2022-11-07 9:22 ` Andrea Corallo
2022-11-08 5:51 ` Björn Bidar
2022-11-08 11:23 ` Andrea Corallo
2022-11-08 11:43 ` Parallel native compilation Björn Bidar
2022-11-08 12:35 ` Andrea Corallo
2022-11-08 12:13 ` Suppressing native compilation (short and long term) Eli Zaretskii
2022-11-05 11:53 ` Juanma Barranquero
2022-11-05 12:44 ` Eli Zaretskii
2022-11-05 13:12 ` Juanma Barranquero
2022-11-05 13:35 ` Eli Zaretskii
2022-11-05 14:09 ` Juanma Barranquero
2022-10-05 16:04 ` Andrea Corallo
2022-10-05 16:12 ` Lars Ingebrigtsen
2022-10-05 16:28 ` Andrea Corallo
2022-10-05 16:43 ` Eli Zaretskii
2022-10-06 0:44 ` Po Lu
2022-10-06 0:56 ` Lars Ingebrigtsen
2022-10-06 6:41 ` Eli Zaretskii
2022-10-06 6:28 ` Eli Zaretskii
2022-10-14 17:53 ` Rob Browning
2022-10-14 18:36 ` Stefan Monnier
2022-10-14 19:06 ` Eli Zaretskii
2022-10-14 21:17 ` Rob Browning
2022-10-15 3:07 ` Stefan Monnier
2022-10-15 16:34 ` Rob Browning
2022-10-15 23:16 ` Stefan Monnier
2022-10-15 6:30 ` Eli Zaretskii
2022-10-15 17:00 ` Rob Browning
2022-10-15 9:32 ` Lars Ingebrigtsen
2022-10-15 16:48 ` Sean Whitton
2022-10-16 8:56 ` Lars Ingebrigtsen
2022-10-15 17:21 ` Rob Browning
2022-10-15 17:25 ` Eli Zaretskii
2022-10-16 9:01 ` Lars Ingebrigtsen
2022-10-16 16:59 ` Rob Browning
2022-10-17 10:37 ` Lars Ingebrigtsen
2022-10-05 20:37 ` Lars Ingebrigtsen
2022-10-05 23:40 ` Andrea Corallo
2022-10-05 23:46 ` Lars Ingebrigtsen
2022-10-06 0:34 ` Andrea Corallo
2022-10-06 0:39 ` Lars Ingebrigtsen
2022-10-06 1:03 ` Andrea Corallo
2022-10-06 1:07 ` Lars Ingebrigtsen
2022-10-06 1:19 ` Andrea Corallo
2022-10-06 1:26 ` Lars Ingebrigtsen
2022-10-06 1:39 ` Andrea Corallo
2022-10-06 12:07 ` Lars Ingebrigtsen
2022-10-06 4:32 ` Repeatable testing [was: Suppressing native compilation...] tomas
2022-10-06 5:04 ` Emanuel Berg
2022-10-06 6:52 ` Repeatable testing Eli Zaretskii
2022-10-02 20:05 ` Suppressing native compilation (short and long term) Rob Browning
2022-10-02 20:10 ` Lars Ingebrigtsen
2022-10-05 13:19 ` Andrea Corallo
2022-10-05 12:43 ` Andrea Corallo
2022-10-05 13:16 ` Lars Ingebrigtsen
2022-10-05 13:29 ` Andrea Corallo
2022-10-05 14:03 ` Eli Zaretskii
2022-10-02 17:30 ` Eli Zaretskii
2022-10-02 17:38 ` Lars Ingebrigtsen
2022-10-02 17:48 ` Eli Zaretskii
2022-10-02 17:37 ` Rob Browning
2022-10-02 17:44 ` Eli Zaretskii
2022-10-02 18:21 ` Rob Browning
2022-10-02 18:43 ` Eli Zaretskii
2022-10-02 23:53 ` Sean Whitton
2022-10-02 17:15 ` Rob Browning
2022-10-02 17:25 ` Stefan Monnier
2022-10-02 18:11 ` Stefan Kangas
2022-10-02 18:26 ` Stefan Monnier
2022-10-02 18:57 ` Stefan Kangas
2022-10-02 17:26 ` Eli Zaretskii
2022-10-02 23:51 ` Sean Whitton
2022-10-03 16:19 ` Eli Zaretskii
2022-10-03 18:23 ` Sean Whitton
2022-10-03 18:44 ` Eli Zaretskii
2022-10-04 0:31 ` Po Lu
2022-10-04 6:57 ` Eli Zaretskii
2022-10-04 8:37 ` Po Lu
2022-10-04 9:25 ` Eli Zaretskii
2022-10-04 9:51 ` Po Lu
2022-10-05 13:58 ` Po Lu
2022-10-05 15:02 ` Lars Ingebrigtsen
2022-10-05 16:47 ` Eli Zaretskii
2022-10-05 17:59 ` tomas
2022-10-05 18:28 ` Eli Zaretskii
2022-10-05 18:56 ` tomas
2022-10-05 19:04 ` Eli Zaretskii
2022-10-05 19:40 ` tomas
2022-10-05 19:29 ` Gregory Heytings
2022-10-05 19:38 ` Eli Zaretskii
2022-10-05 20:04 ` Gregory Heytings
2022-10-06 5:28 ` Eli Zaretskii
2022-10-06 6:35 ` tomas
2022-10-05 16:43 ` Eli Zaretskii
2022-10-06 0:34 ` Po Lu
2022-10-06 6:21 ` Eli Zaretskii
2022-10-06 7:11 ` Po Lu
2022-10-06 8:03 ` Eli Zaretskii
2022-10-06 9:02 ` tomas
2022-10-06 10:13 ` Eli Zaretskii
2022-10-06 11:49 ` tomas
2022-10-07 12:40 ` Eli Zaretskii
2022-10-06 9:52 ` Po Lu
2022-10-06 10:17 ` Eli Zaretskii
2022-10-06 10:41 ` Andrea Corallo
2022-10-06 10:54 ` Eli Zaretskii
2022-10-04 23:26 ` Sean Whitton
2022-10-02 5:58 ` tomas
2022-10-02 6:42 ` Eli Zaretskii
2022-10-02 15:53 ` tomas
2022-10-02 16:11 ` Eli Zaretskii [this message]
2022-10-02 16:23 ` chad
2022-10-02 16:59 ` Eli Zaretskii
2022-10-02 18:35 ` Rob Browning
2022-10-02 18:54 ` Eli Zaretskii
2022-10-02 19:37 ` Rob Browning
2022-10-02 17:57 ` Rob Browning
2022-10-02 18:06 ` Lars Ingebrigtsen
2022-10-02 18:35 ` Eli Zaretskii
2022-10-02 18:41 ` Rob Browning
2022-10-02 19:00 ` Eli Zaretskii
2022-10-02 19:50 ` Rob Browning
2022-10-03 17:41 ` Eli Zaretskii
2022-10-03 18:17 ` tomas
2022-10-03 18:41 ` Eli Zaretskii
2022-10-03 19:02 ` tomas
2022-10-03 19:04 ` Eli Zaretskii
2022-10-03 18:45 ` Stefan Monnier
2022-10-03 18:52 ` Eli Zaretskii
2022-10-04 0:16 ` Rob Browning
2022-10-04 9:30 ` Eli Zaretskii
2022-10-05 0:48 ` Rob Browning
2022-10-05 7:39 ` Eli Zaretskii
2022-10-08 17:47 ` Michael Welsh Duggan
2022-10-15 17:39 ` Rob Browning
2022-10-02 18:25 ` Stefan Monnier
2022-10-02 18:32 ` Eli Zaretskii
2022-10-02 18:37 ` Lars Ingebrigtsen
2022-10-02 18:46 ` Rob Browning
2022-10-02 18:57 ` Eli Zaretskii
2022-10-02 19:01 ` Lars Ingebrigtsen
2022-10-02 19:03 ` Eli Zaretskii
2022-10-02 19:58 ` Stefan Monnier
2022-10-02 20:09 ` Stefan Monnier
2022-10-02 16:27 ` tomas
2022-10-02 17:01 ` Eli Zaretskii
2022-10-02 18:37 ` Rob Browning
2022-10-02 18:58 ` Eli Zaretskii
2022-10-02 19:58 ` Rob Browning
2022-10-02 20:51 ` tomas
2022-10-02 23:58 ` Sean Whitton
2022-10-03 16:24 ` Eli Zaretskii
2022-10-03 18:23 ` Sean Whitton
2022-10-03 18:46 ` Eli Zaretskii
2022-10-02 18:32 ` Rob Browning
2022-10-02 18:51 ` Eli Zaretskii
2022-10-02 19:57 ` Rob Browning
2022-10-03 15:48 ` Eli Zaretskii
2022-10-03 16:39 ` Stefan Monnier
2022-10-03 17:30 ` Eli Zaretskii
2022-10-03 18:33 ` Stefan Monnier
2022-10-03 18:49 ` Eli Zaretskii
2022-10-03 21:58 ` Stefan Kangas
2022-10-04 6:10 ` Eli Zaretskii
2022-10-04 13:30 ` Stefan Monnier
2022-09-30 15:38 ` Stefan Monnier
2022-09-30 17:05 ` David Bremner
2022-09-30 17:32 ` David Bremner
-- strict thread matches above, loose matches on Subject: below --
2022-10-23 18:43 Gregor Zattler
2022-10-23 15:22 Gregor Zattler
2022-10-23 16:07 ` Eli Zaretskii
2022-10-23 17:08 ` Gregor Zattler
2022-10-23 17:30 ` Eli Zaretskii
2022-10-23 17:33 ` Gregor Zattler
2022-10-23 17:34 ` Eli Zaretskii
2022-10-23 17:39 ` Eli Zaretskii
2022-10-23 18:55 ` Gregor Zattler
2022-10-24 18:35 ` Gregor Zattler
2022-10-24 19:04 ` Eli Zaretskii
2022-09-28 1:04 Rob Browning
2022-09-28 11:02 ` Lars Ingebrigtsen
2022-09-28 11:35 ` Eli Zaretskii
2022-10-12 20:22 ` Liliana Marie Prikler
2022-10-13 5:46 ` Eli Zaretskii
2022-10-13 19:20 ` Liliana Marie Prikler
2022-10-13 20:10 ` Stefan Monnier
2022-10-13 20:26 ` Eli Zaretskii
2022-10-13 20:57 ` Lars Ingebrigtsen
2022-10-13 21:29 ` Lars Ingebrigtsen
2022-10-14 22:37 ` Andrea Corallo
2022-10-15 3:09 ` Stefan Monnier
2022-10-15 15:06 ` Andrea Corallo
2022-10-15 16:16 ` Stefan Monnier
2022-10-15 9:24 ` Lars Ingebrigtsen
2022-10-15 15:02 ` Andrea Corallo
2022-10-16 8:52 ` Lars Ingebrigtsen
2022-10-16 9:29 ` Liliana Marie Prikler
2022-10-16 13:45 ` Stefan Monnier
2022-10-16 13:47 ` Lars Ingebrigtsen
2022-10-19 19:39 ` Andrea Corallo
2022-10-14 6:08 ` Eli Zaretskii
2022-10-14 23:20 ` Andrea Corallo
2022-10-15 3:14 ` Stefan Monnier
2022-10-15 6:40 ` Liliana Marie Prikler
2022-10-15 7:14 ` Eli Zaretskii
2022-10-15 14:00 ` Stefan Monnier
2022-10-15 14:10 ` Lynn Winebarger
2022-10-15 14:29 ` Eli Zaretskii
2022-10-16 11:55 ` Lynn Winebarger
2022-10-17 7:34 ` Andrea Corallo
2022-10-18 22:26 ` Lynn Winebarger
2022-10-19 19:33 ` Andrea Corallo
2022-10-15 15:10 ` Andrea Corallo
2022-10-15 16:17 ` Stefan Monnier
2022-10-17 7:20 ` Andrea Corallo
2022-10-15 7:04 ` Eli Zaretskii
2022-10-15 15:19 ` Andrea Corallo
2022-10-15 16:26 ` Eli Zaretskii
2022-10-15 17:19 ` Eli Zaretskii
2022-10-17 7:21 ` Andrea Corallo
2022-10-18 8:52 ` Andrea Corallo
2022-10-18 11:27 ` Lars Ingebrigtsen
2022-10-18 13:56 ` Andrea Corallo
2022-10-18 18:12 ` Lars Ingebrigtsen
2022-10-18 13:55 ` Stefan Monnier
2022-10-15 9:25 ` Lars Ingebrigtsen
2022-10-15 15:20 ` Andrea Corallo
2022-10-15 14:18 ` Lynn Winebarger
2022-10-15 17:06 ` Sean Whitton
2022-10-15 17:12 ` Eli Zaretskii
2022-10-15 17:36 ` Sean Whitton
2022-10-13 20:22 ` Eli Zaretskii
2022-10-14 19:46 ` Liliana Marie Prikler
2022-10-15 8:51 ` Eli Zaretskii
2022-10-15 15:53 ` Andrea Corallo
2022-10-15 9:33 ` Lars Ingebrigtsen
2022-10-15 14:35 ` Liliana Marie Prikler
2022-10-15 15:56 ` Andrea Corallo
2022-10-15 16:24 ` Liliana Marie Prikler
2022-10-17 7:23 ` Andrea Corallo
2022-10-17 16:59 ` Liliana Marie Prikler
2022-10-17 17:07 ` Eli Zaretskii
2022-10-16 8:55 ` Lars Ingebrigtsen
2022-10-16 9:27 ` Liliana Marie Prikler
2022-10-16 9:35 ` Lars Ingebrigtsen
2022-10-17 7:30 ` Andrea Corallo
2022-10-17 11:20 ` Lars Ingebrigtsen
2022-09-28 12:52 ` Andrea Corallo
2022-09-28 17:04 ` Eli Zaretskii
2022-09-28 18:49 ` Andrea Corallo
2022-09-28 19:10 ` Eli Zaretskii
2022-09-28 21:32 ` Andrea Corallo
2022-09-29 5:56 ` Eli Zaretskii
2022-09-29 8:18 ` Andrea Corallo
2022-09-29 9:01 ` Eli Zaretskii
2022-09-29 14:32 ` Andrea Corallo
2022-09-29 15:50 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83h70m19yv.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=tomas@tuxteam.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.