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: Tue, 31 Dec 2019 09:55:10 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Eli Zaretskii <address@hidden> writes:
> Can you describe what happens using a simple example?  Suppose I have
> a simple function whose body does
>
>   (let ((i 0))
>     (while (< i something)
>       (foobar i)
>       (setq i (1+ i))))
>
> When this is compiled with libgccjit using your code, will the
> resulting native code include calls to Fwhile, Fsetq, and Fadd1?  Or
> will it convert the above to the equivalent machine-language loop?  If
> the latter, how does it know what to produce for Fwhile, for example?
>
> P.S.  Pointers to your code where it does something that answers the
> above questions are very fine.
>
> Thanks.

Hi,

I've extended the usual page (https://akrl.sdf.org/gccemacs.html) under
"Update 3" to follow an example of compilation process and load
mechanism as you have suggested.

Hope it helps.  Please let me know if something needs more
clarification.

Andrea
-- 
address@hidden



reply via email to

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