[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FW: [External] : Re: Native compilation by default?: Was [Re: stats
From: |
Emanuel Berg |
Subject: |
Re: FW: [External] : Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp |
Date: |
Sun, 26 Feb 2023 21:05:10 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii wrote:
>> And the doc makes clear that `M-x load-file FOO.el' or
>> (load-file "FOO.el") loads FOO.el.
>
> No, it doesn't.
We need like a native compile FAQ to answer more basic
questions, in a simple way.
1. When does it happen to an individual file without you
doing anything?
2. How do you explicitely native compile stuff, from
a Makefile as well as from Emacs?
3. How do you load it?
4. How much faster is it than byte-compiled code? Is it around
7% as the test say? Why is it still so much slower than
SBCL which is 78 875% faster? Is it because Elisp has
dynamic typing and the compiler also lacks optimizations
that, perhaps, will come in time?
5. (And so on.)
I can answer question 2, see these files:
https://dataswamp.org/~incal/emacs-init/native.el
https://dataswamp.org/~incal/emacs-init/Makefile
I can also answer 3: In each file f, do
(provide 'f)
last, then `native-compile' it, then do (load "f").
--
underground experts united
https://dataswamp.org/~incal
- Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, (continued)
- Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, Eli Zaretskii, 2023/02/22
- Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, Madhu, 2023/02/25
- Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, Stefan Monnier, 2023/02/25
- Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, Eli Zaretskii, 2023/02/26
- FW: [External] : Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, Drew Adams, 2023/02/26
- Re: FW: [External] : Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, Eli Zaretskii, 2023/02/26
- RE: FW: [External] : Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, Drew Adams, 2023/02/26
- Re: FW: [External] : Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, Eli Zaretskii, 2023/02/26
- RE: FW: [External] : Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, Drew Adams, 2023/02/26
- Re: FW: [External] : Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, Eli Zaretskii, 2023/02/26
- Re: FW: [External] : Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp,
Emanuel Berg <=
- Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, Emanuel Berg, 2023/02/27
- Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, Emanuel Berg, 2023/02/27
- Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, Madhu, 2023/02/27
- Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, Eli Zaretskii, 2023/02/26
- RE: [External] : Re: Native compilation by default?: Was [Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, Drew Adams, 2023/02/26
- Re: stats say SBCL is 78 875 % faster than natively compiled Elisp, Jean Louis, 2023/02/19