emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs Lisp JIT Compiler


From: Tom Tromey
Subject: Re: Emacs Lisp JIT Compiler
Date: Mon, 10 Sep 2018 05:53:43 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux)

>>>>> "Robert" == Robert Pluim <address@hidden> writes:

>> 1) Any progress in the JIT work?

Robert> Depends what you mean by progress. As far as I can tell the
Robert> feature/libjit branch compiles and runs OK.

Eli has some work in libjit to make it work better on Windows.

I haven't done anything recently but I do have a work-in-progress patch
to improve the calling convention; and this would also provide
infrastructure to allow more direct calls to C and for inlining.  Not
sure when I will finish that.

Robert> Of course, you could do both: compile the lisp shipped with emacs into
Robert> C, and support libjit, although the last time I looked at
Robert> el-compilador it didnʼt support elisp fully yet.

Yes, el-compilador is pretty unfinished.  I think it should support
all of elisp in the front end and in the optimizers; but the C back end
is quite incomplete.

I wrote a second compiler, though, that just compiles from bytecode to
C.  This one is more complete, see my post about it from sometime in the
last month or so.  IIRC wiring it up to the build was the remaining
difficulty.

Tom



reply via email to

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