emacs-devel
[Top][All Lists]
Advanced

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

Re: "Bringing GNU Emacs to Native Code" at the European Lisp Symposium


From: Stefan Monnier
Subject: Re: "Bringing GNU Emacs to Native Code" at the European Lisp Symposium
Date: Sat, 02 May 2020 09:50:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Such is life.  But even if dynamic-default binding can't get the same
> amount of speedup, it shoulod work correctly.

It does work correctly already.

> You might find a way to recognize that some bindings can't be seen by
> any other functions, and treat them as lexical on the grounds that
> doing so would not alter the result.

To get a good result out of this you need a non-trivial analysis
(there's actually a paper by a student of Mike Sperber that does exactly
that, BTW) and you still won't preserve the expected behavior when
advising or redefining functions.

It's much easier to adjust the source file to use Elisp/l instead of
Elisp/d and will give better results (and better compilation warnings,
etc...).


        Stefan




reply via email to

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