all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Any reason not to use native compilation mode?
@ 2023-10-12 10:30 Jonathon McKitrick via Users list for the GNU Emacs text editor
  2023-10-12 11:49 ` Emanuel Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathon McKitrick via Users list for the GNU Emacs text editor @ 2023-10-12 10:30 UTC (permalink / raw)
  To: help-gnu-emacs

Assuming it works without issue, what are the tradeoffs?
I believe I read somewhere there's a higher memory usage with native
compilation. Is there any other cost?

Jonathon McKitrick
--
'My other computer is your Windows box.'



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Any reason not to use native compilation mode?
  2023-10-12 10:30 Any reason not to use native compilation mode? Jonathon McKitrick via Users list for the GNU Emacs text editor
@ 2023-10-12 11:49 ` Emanuel Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Emanuel Berg @ 2023-10-12 11:49 UTC (permalink / raw)
  To: help-gnu-emacs

Jonathon McKitrick via Users list for the GNU Emacs text editor wrote:

> Assuming it works without issue, what are the tradeoffs?
> I believe I read somewhere there's a higher memory usage
> with native compilation. Is there any other cost?

Compilation time, especially with ahead-of-time, as in

  --with-native-compilation=aot

but then you don't get the somewhat disruptive messages when
there are warnings from just-in-time compiled Elisp packages.
And you also don't build Emacs that often, so it is better to
do it once and for all and then not having to bother about
it, really.

But even a modern multicore computer gets semi-unresponsive
back and forth for a long time, so one can build Emacs and
then go and do laundry or something while it processes ...

-- 
underground experts united
https://dataswamp.org/~incal




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-12 11:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-12 10:30 Any reason not to use native compilation mode? Jonathon McKitrick via Users list for the GNU Emacs text editor
2023-10-12 11:49 ` Emanuel Berg

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.