unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Native compilation: the bird-eye view
@ 2020-05-16 11:51 Eli Zaretskii
  2020-05-16 12:58 ` Andrea Corallo
  0 siblings, 1 reply; 59+ messages in thread
From: Eli Zaretskii @ 2020-05-16 11:51 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: emacs-devel

Maybe this was already discussed (in which case please point me to
that discussion), but if not: how will this feature be integrated into
the Emacs distribution and usage patterns?

First, we cannot bundle the *.eln files with the source tarball of the
Emacs release, because these files are too specific to the
architecture (and perhaps also to the versions of the OS and the libc)
of the system where they were produced.  Right?  If so, they will have
to be generated on the end-user machines, or perhaps by whoever
prepares the Emacs binary distributions -- assuming that the binary
distributions are sufficiently compatible to allow that,
notwithstanding the differences between the system where the *.eln
files were generated and the system where they will be installed and
used.  (I don't know what is the granularity of the binary distros wrt
machine architecture and OS versions -- will that allow to be sure the
*.eln files are compatible with the target system?)

The next question is whether we want the *.eln files to exist up front
for all the Lisp files on the end-user system, or we want them to be
generated in JIT-like manner, whenever the corresponding Lisp library
is loaded on demand?  The answer to this question might then influence
the place where the *.eln files are kept -- the JIT alternative would
suggest to have some kind of cache directory where we put the compiled
files, similar to what Guile does.

And finally, what about the *.elc files and their relation to the
corresponding *.eln files?  Do we always load a .eln file if
available, do we let the user specify their preferences, something
else?

Comments are welcome.



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

end of thread, other threads:[~2020-09-06  6:24 UTC | newest]

Thread overview: 59+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-16 11:51 Native compilation: the bird-eye view Eli Zaretskii
2020-05-16 12:58 ` Andrea Corallo
2020-05-16 15:57   ` Paul Eggert
2020-05-16 16:26   ` Eli Zaretskii
2020-05-16 17:03     ` Andrea Corallo
2020-05-16 17:35       ` Eli Zaretskii
2020-05-16 17:44         ` Andrea Corallo
2020-05-16 17:50           ` Eli Zaretskii
2020-05-16 18:26             ` Andrea Corallo
2020-05-16 18:32               ` Eli Zaretskii
2020-05-16 18:41                 ` Andrea Corallo
2020-05-18 14:27                   ` Andrea Corallo
2020-05-19  5:08                     ` ASSI
2020-05-19 16:25                     ` Andrea Corallo
2020-05-19 16:37                       ` Stefan Kangas
2020-05-19 19:16                         ` Andrea Corallo
2020-05-29 17:25                       ` Andrea Corallo
2020-06-02 15:16                       ` Stefan Monnier
2020-06-03 14:23                         ` Andrea Corallo
2020-06-03 14:38                           ` Stefan Monnier
2020-08-10  9:23                             ` Andrea Corallo via Emacs development discussions.
2020-08-10 12:20                               ` Stefan Monnier
2020-08-10 21:34                                 ` Andrea Corallo via Emacs development discussions.
2020-08-15 10:51                                   ` Andrea Corallo via Emacs development discussions.
2020-08-15 15:00                                     ` Eli Zaretskii
2020-08-19 15:01                                     ` Andrea Corallo via Emacs development discussions.
2020-08-20  0:53                                       ` tumashu
2020-08-20  8:11                                         ` Andrea Corallo via Emacs development discussions.
2020-08-23 12:19                                       ` Andrea Corallo via Emacs development discussions.
2020-08-23 15:37                                         ` Stefan Monnier
2020-08-23 16:31                                           ` Andrea Corallo via Emacs development discussions.
2020-08-23 18:20                                             ` Stefan Monnier
2020-08-24  8:03                                               ` Andrea Corallo via Emacs development discussions.
2020-08-24 13:31                                                 ` Stefan Monnier
2020-08-24 14:09                                                   ` Andrea Corallo via Emacs development discussions.
2020-08-30 10:18                                             ` Path for system-wide .eln files (was: Native compilation: the bird-eye view) Ulrich Mueller
2020-08-30 20:50                                               ` Path for system-wide .eln files Andrea Corallo via Emacs development discussions.
2020-08-30 21:51                                                 ` Stefan Monnier
2020-08-31 19:13                                                   ` Andrea Corallo via Emacs development discussions.
2020-08-31 21:16                                                     ` Ulrich Mueller
2020-09-01  4:28                                                       ` Yuri Khan
2020-09-01  7:16                                                         ` Ulrich Mueller
2020-09-01  8:46                                                           ` tomas
2020-09-04 17:55                                                           ` Andrea Corallo via Emacs development discussions.
2020-09-04 18:25                                                             ` Ulrich Mueller
2020-09-04 19:47                                                               ` Andrea Corallo via Emacs development discussions.
2020-09-04 20:01                                                                 ` Ulrich Mueller
2020-09-04 21:42                                                                   ` Stefan Monnier
2020-09-04 22:59                                                                     ` Ulrich Mueller
2020-09-05  2:58                                                                       ` Stefan Monnier
2020-09-05  7:10                                                                         ` Ulrich Mueller
2020-09-06  6:24                                                                           ` Andrea Corallo via Emacs development discussions.
2020-09-05  7:48                                                                     ` Alfred M. Szmidt
2020-05-16 19:11               ` Native compilation: the bird-eye view Yuan Fu
2020-05-17  4:04                 ` Ihor Radchenko
2020-05-17 11:18                 ` Arthur Miller
2020-05-16 22:09               ` John Wiegley
2020-05-17  4:11     ` Ihor Radchenko
2020-05-17  7:43       ` Andrea Corallo

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).