[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: On elisp running native
From: |
Stefan Monnier |
Subject: |
Re: On elisp running native |
Date: |
Thu, 28 Nov 2019 11:04:18 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> Hi all. I'd like share the investigation I've been working on to give
> Emacs the ability to compile and run elisp as native code.
This looks great, thanks.
[ I wasn't able to follow all the explanations at
http://akrl.sdf.org/gccemacs.html, such as the one around "function
frames", with which I'm not familiar. Are these like activation
frames? ]
A few questions:
- How did you get there? I see some "we" in the web page, which makes
it sound like you weren't completely alone.
- AFAICT most of the new compilation code is in comp.el and comp.c focuses
on "code generation", right? Can you say something about the time it
takes to compile files?
What does the time break down looks like (i.e. percentage spent in
bytecompiler, comp.el, comp.c, libgccjit)?
- Have you tried to use the compiler as benchmark (i.e. how much faster
can Emacs compile (either byte-compile or native-compile)) if the
compiler code is native-compiled (since it's all using
lexical-binding already)?
-- Stefan
- On elisp running native, Andrea Corallo, 2019/11/28
- Re: On elisp running native, Óscar Fuentes, 2019/11/28
- Re: On elisp running native, Lars Ingebrigtsen, 2019/11/28
- Re: On elisp running native,
Stefan Monnier <=
- Re: On elisp running native, Andrea Corallo, 2019/11/28
- Re: On elisp running native, Stefan Monnier, 2019/11/28
- Re: On elisp running native, Andrea Corallo, 2019/11/28
- Re: On elisp running native, Eric Abrahamsen, 2019/11/28
- Re: On elisp running native, Andrea Corallo, 2019/11/29
- Re: On elisp running native, Eli Zaretskii, 2019/11/29
- Re: On elisp running native, Stefan Monnier, 2019/11/29
- Re: On elisp running native, Andrea Corallo, 2019/11/29
- Re: On elisp running native, Eli Zaretskii, 2019/11/29
- Re: On elisp running native, Andrea Corallo, 2019/11/29