[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [feature/native-comp] breakage on build
From: |
Andrea Corallo |
Subject: |
Re: [feature/native-comp] breakage on build |
Date: |
Tue, 09 Feb 2021 08:25:32 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> - With native code you can redefine all of these except for the (very
>> few) primitives we open-code directly in the generated code. This is
>> a smaller set than the previous one but still not perfect.
>
> But if we can't build trampolines, currently, the situation is much
> worse: many calls to native-compiled Lisp functions from native-compiled Lisp
> functions can't be advised any more.
Correct, but if we can build eln files during the initial compilation we
can also build trampolines AOT. This is just a matter of running:
(mapatoms (λ (s)
(when (subr-primitive-p (symbol-function s))
(comp-trampoline-compile s))))
Probably we should wire this in the build system so it's accessible as
make target?
Andrea
- Re: [feature/native-comp] breakage on build, (continued)
- Re: [feature/native-comp] breakage on build, Eli Zaretskii, 2021/02/06
- Re: [feature/native-comp] breakage on build, Phillip Lord, 2021/02/06
- Re: [feature/native-comp] breakage on build, Eli Zaretskii, 2021/02/06
- Re: [feature/native-comp] breakage on build, Phillip Lord, 2021/02/07
- Re: [feature/native-comp] breakage on build, Andrea Corallo, 2021/02/08
- Re: [feature/native-comp] breakage on build, Phillip Lord, 2021/02/08
- Re: [feature/native-comp] breakage on build, Andrea Corallo, 2021/02/08
- Re: [feature/native-comp] breakage on build, Phillip Lord, 2021/02/08
- Re: [feature/native-comp] breakage on build, Andrea Corallo, 2021/02/08
- Re: [feature/native-comp] breakage on build, Stefan Monnier, 2021/02/08
- Re: [feature/native-comp] breakage on build,
Andrea Corallo <=
- Re: [feature/native-comp] breakage on build, Phillip Lord, 2021/02/09
- Re: [feature/native-comp] breakage on build, Andrea Corallo, 2021/02/10
- Re: [feature/native-comp] breakage on build, Stefan Monnier, 2021/02/10
- Re: [feature/native-comp] breakage on build, Andrea Corallo, 2021/02/10
- Re: [feature/native-comp] breakage on build, Phillip Lord, 2021/02/15
- Re: [feature/native-comp] breakage on build, Eli Zaretskii, 2021/02/10
- Re: [feature/native-comp] breakage on build, Andrea Corallo, 2021/02/10
- Re: [feature/native-comp] breakage on build, Eli Zaretskii, 2021/02/11
- Re: [feature/native-comp] breakage on build, Andrea Corallo, 2021/02/11
- Re: [feature/native-comp] breakage on build, Eli Zaretskii, 2021/02/11