[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enabling native compilation by default when libgccjit is present
From: |
Eli Zaretskii |
Subject: |
Re: Enabling native compilation by default when libgccjit is present |
Date: |
Mon, 06 Dec 2021 14:59:05 +0200 |
> From: Richard Stallman <rms@gnu.org>
> Date: Sun, 05 Dec 2021 23:33:54 -0500
> Cc: emacs-devel@gnu.org
>
> > The reason for this is not hard to understand for anyone with a little
> > bit of knowledge about binary code optimization. For instance, if your
> > Elisp code consists on invoking opaque C primitives, the gain of
> > compiling it to machine instructions will be mostly irrelevant.
>
> I wonder if this could be a guide towards doing native compilation
> only in the cases where it will provide a benefit.
I don't think this could fly in practice, because I see no way of
predicting when it will provide a benefit. The same primitives could
be combined into very different Lisp programs, and no useful program
consists only of calls to primitives, there's always some Lisp
involved.
- Re: Enabling native compilation by default when libgccjit is present, (continued)
- Re: Enabling native compilation by default when libgccjit is present, Óscar Fuentes, 2021/12/05
- Re: Enabling native compilation by default when libgccjit is present, Arthur Miller, 2021/12/05
- Re: Enabling native compilation by default when libgccjit is present, Lars Ingebrigtsen, 2021/12/05
- Re: Enabling native compilation by default when libgccjit is present, Arthur Miller, 2021/12/05
- Re: Enabling native compilation by default when libgccjit is present, Arthur Miller, 2021/12/05
- Re: Enabling native compilation by default when libgccjit is present, Richard Stallman, 2021/12/05
- Re: Enabling native compilation by default when libgccjit is present,
Eli Zaretskii <=
- Re: Enabling native compilation by default when libgccjit is present, Stefan Monnier, 2021/12/06
- Re: Enabling native compilation by default when libgccjit is present, Eli Zaretskii, 2021/12/06
- Re: Enabling native compilation by default when libgccjit is present, Matt Armstrong, 2021/12/07
- Re: Enabling native compilation by default when libgccjit is present, tomas, 2021/12/07
- Re: Enabling native compilation by default when libgccjit is present, T.V Raman, 2021/12/07
- Re: Enabling native compilation by default when libgccjit is present, Jim Myhrberg, 2021/12/05
- Re: Enabling native compilation by default when libgccjit is present, Dmitry Gutov, 2021/12/05
- Re: Enabling native compilation by default when libgccjit is present, Jim Myhrberg, 2021/12/05
- Re: Enabling native compilation by default when libgccjit is present, Dmitry Gutov, 2021/12/06
- Re: Enabling native compilation by default when libgccjit is present, João Pedro de Amorim Paula, 2021/12/06