[Top][All Lists]

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

Re: An idea, now that we have dynamic loading

From: Óscar Fuentes
Subject: Re: An idea, now that we have dynamic loading
Date: Sun, 06 May 2018 04:25:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

"John Wiegley" <address@hidden> writes:

> It occurred to me today that we have tons of examples of how Lisp functions
> can be written in a flavor C. This "compilation" is typically done by hand by
> a few experts.
> However, what if we had a compiler from Emacs Lisp -> Lisp-flavored C, which
> could turn .el files into .c files suitable for compiling into .so's that can
> be loaded into Emacs?

Mandatory mention:

JIT Compilation for Emacs


IMHO and based on my experience with other projects, this is the way
Elisp should go for improving performance. It is dubious that the
approach you mention would be any better on terms of raw performance,
apart from decreasing load time. Anyways, if speed is really important,
nothing beats a pure C implementation.

reply via email to

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