emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs rewrite in a maintainable language


From: Eli Zaretskii
Subject: Re: Emacs rewrite in a maintainable language
Date: Tue, 13 Oct 2015 17:59:44 +0300

> Date: Tue, 13 Oct 2015 09:00:15 +0300
> From: immerrr again <address@hidden>
> 
> A wild idea would be to try rewriting the Emacs Lisp interpreter in
> RPython [1]. It is a "framework for writing dynamic language
> interpreters" and is used for implementing pypy [2] and pixie [3]
> (which is a Lisp dialect). It accepts interpreter code in a subset of
> Python, which is still quite high-level, that can be translated to C
> using GCC as a backend. It comes with interpreter-related goodies,
> like FFI, several implementations of GC, code flow analyzers and an
> implementation of a tracing JIT. I would guess it would help with
> performance a bit.

The interpreter code proper is about 16K lines of C out of the grand
total of more than 320K, i.e. just 5%.  The rest is implementation of
primitives and Lisp objects + support code, and the display engine.



reply via email to

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