emacs-devel
[Top][All Lists]
Advanced

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

Re: On elisp running native


From: Andrea Corallo
Subject: Re: On elisp running native
Date: Thu, 28 Nov 2019 20:15:48 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (berkeley-unix)

Lars Ingebrigtsen <address@hidden> writes:

> Andrea Corallo <address@hidden> writes:
>
>> I wrote a small page to describe what I did and how it works plus the
>> current status not to have the information spread in various mails.
>>
>> http://akrl.sdf.org/gccemacs.html
>
> Wow, that's exciting!
>
> A couple of questions:
>
>> * Native compiler is not re-entrant: 
>>
>>  Just top level functions are native compiled, the others (lambda
>>  included) are still kept as byte-code.
>
> Is that a fundamental limitation, or have you just not gotten around to
> it yet?

I do not see any design limitation for that.  Just had no time to work
on it.

> Also, I'm wondering about debugging: I spend a lot of time in Emacs just
> edebugging or in the *Backtrace* buffer.  Does the natively compiled
> code mean that all that has to happen in gdb now?

No, you can trap into native compiled code with a gdb as you can do it
for any piece of the C core, but I would do that just for debugging the
internals or the functionality of the generated code.  Should be
something not routinely done for writing lisp.

Andrea

-- 
address@hidden



reply via email to

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