[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ahead of time compilation?
From: |
Perry E. Metzger |
Subject: |
Re: Ahead of time compilation? |
Date: |
Fri, 14 Sep 2018 19:52:33 -0400 |
On Fri, 14 Sep 2018 16:25:39 -0600 Tom Tromey <address@hidden> wrote:
> >>>>> "Perry" == Perry E Metzger <address@hidden> writes:
>
> Perry> Given the recent JIT discussion, it occurs to me that a large
> Perry> fraction of the elisp infrastructure in the average emacs is
> Perry> the stuff that gets slurped in and undumped. Perhaps all
> Perry> that stuff could get ahead of time compiled before undump
> Perry> for performance? Build time isn't nearly as relevant for me
> Perry> as speed during execution, and on platforms that don't have
> Perry> the infra, the interpreter could continue to be use for that
> Perry> stuff.
>
> See these:
>
> https://lists.gnu.org/archive/html/emacs-devel/2018-09/msg00451.html
>
> https://lists.gnu.org/archive/html/emacs-devel/2018-08/msg00767.html
>
> There's also the unfinished el-compilador, which is a different
> expression of this idea.
I sort of meant deliberately run the JIT on *all( the elisp that gets
loaded pre-dump, and when you dump emacs, everything will be
precompiled. Or does the JIT already JIT everything that gets loaded?
Perry
--
Perry E. Metzger address@hidden