emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [feature/native-comp] breakage on build


From: Phillip Lord
Subject: Re: [feature/native-comp] breakage on build
Date: Mon, 15 Feb 2021 19:17:33 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Andrea Corallo <akrl@sdf.org> writes:

> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>>> Compiling a trampoline is about 0.2s each (mostly GCC gas ld startup
>>> time).  Say we have ~1400 primitives this should translate into ~4.5 min
>>> of build time for something that in the average case is largely unused.
>>
>> But do we really need 1400 different trampolines?
>>
>> Can't these all just be copies of a small number of "base" trampolines
>> (presumably one needs a different trampoline for every number of
>> arguments, but that's about it, right)?
>
> Yes I think they could, the perf penalty should be negligible compared
> to the use of an advised primitive.
>
> The question is if is it so important to support this configuration (eln
> but no libgccjit) that indeed is achievable only on Windows.


It's a good question.

I am siding toward the idea of having a windows distribution with the
DLLs as now, and then another which is simply integrated into msys2 for
all the bells and whistles. It would be perfectly tenable to have
native-comp only available on the msys2 version.

Whether this is a good compromise I do not know, since it's not clear
how much difference native-comp will make in practice or on windows to
the feeling of speed.

Phil



reply via email to

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