[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs Lisp JIT Compiler

From: Robert Pluim
Subject: Re: Emacs Lisp JIT Compiler
Date: Sun, 19 Aug 2018 12:00:51 +0200

Eli Zaretskii <address@hidden> writes:

>> It could be used ahead-of-time (or whatever the term is), to move emacs
>> code currently implemented in C to lisp.
> The intent is to allow Emacs to compile _any_ Lisp into native code.
> The main advantage of that is when the Lisp in question didn't come
> with the distribution.  Because otherwise we could just JIT-compile
> everything in advance and be done.
> IOW, what you mention is a one-time feature, mainly useful to Emacs
> developers.  The drawback I mentioned is for the Emacs users, and
> AFAIU the JIT feature mainly targets the users.

Unless Iʼve misunderstood, nothing prevents us from doing both:
pre-compile all the lisp that ships with emacs to C, and also have a
JIT for 'user code'.  Personally, a JIT that sometimes gives me a
speed increase with a fallback of 'same speed as before' sounds like a
big win to me.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]