emacs-devel
[Top][All Lists]
Advanced

[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 16:08:25 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: rms@gnu.org,  ofv@wanadoo.es,  emacs-devel@gnu.org
> Date: Mon, 06 Dec 2021 08:57:40 -0500
> 
> > 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.

Sounds like a good idea for a PhD.



reply via email to

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