[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should native compilation be enabled by default?
From: |
Emanuel Berg |
Subject: |
Re: Should native compilation be enabled by default? |
Date: |
Fri, 15 Mar 2024 17:47:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Andrea Corallo wrote:
> One gets messages only if a file being compiled has issues,
> BTW since 8e5baaddec2 we are by default way more selctive on
> what we report during native compilation so I don't think
> this problem still exists.
If people intend to fix those issues it is okay to report
them, and ideally everyone that writes Elisp should make sure
their code don't produce any warnings anywhere.
Me, personally I enjoy making improvements to my source and
I never care or stop to think if the improvements are big or
small. But seeing the same warnings over and over in other
people's source makes me think maybe they don't respect them
and for this reason don't fix them.
So we should examine what warnings people actually considers
important enough to fix.
Real issues obviously should always be reported.
>> Since everything is are to be compiled anyway, I don't see
>> why that has to be done little by little. Better to just do
>> it once and be done with it IMO.
>
> Not everything needs to be compiled unless one needs to
> load everything.
Yes, but everything loaded needs to be compiled and compiling
everything implies whatever is called for is ready. I don't
think searching the cache will ever be a factor so the only
drawback is installation time. But I don't install Emacs that
often and the process is automatic.
BTW, now this gets a bit confusing as this option,
--with-native-compilation=aot
doesn't necessarily imply "everything" is compiled.
In practice, I interpreted it as a step in that direction -
except for ELPA packages and personal files, maybe? But I have
to look up the exact meaning.
But what I meant was it is compiled during the installation
process, and much less so during Emacs use. So you don't get
the warnings and popup buffers.
--
underground experts united
https://dataswamp.org/~incal
- Re: Should native compilation be enabled by default?, (continued)
- Re: Should native compilation be enabled by default?, Eli Zaretskii, 2024/03/15
- Re: Should native compilation be enabled by default?, Colin Baxter, 2024/03/15
- Re: Should native compilation be enabled by default?, Andrea Corallo, 2024/03/15
- Re: Should native compilation be enabled by default?, Emanuel Berg, 2024/03/16
- Re: Should native compilation be enabled by default?, Eli Zaretskii, 2024/03/16
- Re: Should native compilation be enabled by default?, Emanuel Berg, 2024/03/15
- Re: Should native compilation be enabled by default?, Andrea Corallo, 2024/03/15
- Re: Should native compilation be enabled by default?,
Emanuel Berg <=
- Re: Should native compilation be enabled by default?, Eli Zaretskii, 2024/03/15
Re: Re: Should native compilation be enabled by default?, Pedro Andres Aranda Gutierrez, 2024/03/06
Re: Re: Should native compilation be enabled by default?, Pedro Andres Aranda Gutierrez, 2024/03/16