[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enabling native compilation by default when libgccjit is present
From: |
Stefan Monnier |
Subject: |
Re: Enabling native compilation by default when libgccjit is present |
Date: |
Mon, 06 Dec 2021 08:57:40 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> I don't think this could fly in practice, because I see no way of
> predicting when it will provide a benefit.
I'm pretty sure it can fly in some practice, but I think it would have
to be a JIT rather than AOT compiler: rather than having to predict the
proportion of time spent in subrs vs time spent in bytecode.c, it could
measure it and (re)compile the parts that seem most promising.
I think Java's HotSpot compiler was among the firsts to do this kind
of thing, but I expect it's fairly widespread in JIT compilers nowadays.
Stefan
- 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, 2021/12/06
- Re: Enabling native compilation by default when libgccjit is present,
Stefan Monnier <=
- 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
- Re: Enabling native compilation by default when libgccjit is present, Richard Stallman, 2021/12/07