[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58509: 29.0.50; Synchronous nativecomp
From: |
Andrea Corallo |
Subject: |
bug#58509: 29.0.50; Synchronous nativecomp |
Date: |
Sat, 15 Oct 2022 16:29:43 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Andrea Corallo <akrl@sdf.org> writes:
>
>> to get practical I think what Lars'd like to have is: at the end of
>> 'maybe_swap_for_eln', in case the .eln is not found, a syncronous
>> invocation of the native compiler to produce and use the .eln file
>> (indeed only when this flag is used).
>>
>> In principal as decribed it should be relatively easy, the only
>> technical caveat I can think of now are potential circular dependecies
>> generated by loading comp.el.
>
> It's kinda the same problem as with the infinite recursion problem with
> the trampolines, so perhaps this could have the same solution? I.e., in
> the Emacs that we fork to do the nativecomp, we should switch off both
> JIT and trampoline generation? (We'd need to add such a mechanism, of
> course.)
Yes, ATM we break circularity as in noninteractive sessions we disable
native compilation, if we allow for it we just have to handle the case.
The mechanism discussed for trampolines on emacs-devel should be
extended for lisp code as well and should do the job.
- bug#58509: 29.0.50; Synchronous nativecomp, (continued)
- bug#58509: 29.0.50; Synchronous nativecomp, Lars Ingebrigtsen, 2022/10/14
- bug#58509: 29.0.50; Synchronous nativecomp, Eli Zaretskii, 2022/10/14
- bug#58509: 29.0.50; Synchronous nativecomp, Lars Ingebrigtsen, 2022/10/14
- bug#58509: 29.0.50; Synchronous nativecomp, Eli Zaretskii, 2022/10/14
- bug#58509: 29.0.50; Synchronous nativecomp, Lars Ingebrigtsen, 2022/10/14
- bug#58509: 29.0.50; Synchronous nativecomp, Eli Zaretskii, 2022/10/14
- bug#58509: 29.0.50; Synchronous nativecomp, Lars Ingebrigtsen, 2022/10/14
- bug#58509: 29.0.50; Synchronous nativecomp, Andrea Corallo, 2022/10/14
- bug#58509: 29.0.50; Synchronous nativecomp, Eli Zaretskii, 2022/10/15
- bug#58509: 29.0.50; Synchronous nativecomp, Lars Ingebrigtsen, 2022/10/15
- bug#58509: 29.0.50; Synchronous nativecomp,
Andrea Corallo <=
- bug#58509: 29.0.50; Synchronous nativecomp, Lars Ingebrigtsen, 2022/10/16
- bug#58509: 29.0.50; Synchronous nativecomp, Andrea Corallo, 2022/10/17
- bug#58509: 29.0.50; Synchronous nativecomp, Lars Ingebrigtsen, 2022/10/17
- bug#58509: 29.0.50; Synchronous nativecomp, Lars Ingebrigtsen, 2022/10/17
- bug#58509: 29.0.50; Synchronous nativecomp, Eli Zaretskii, 2022/10/17
- bug#58509: 29.0.50; Synchronous nativecomp, Lars Ingebrigtsen, 2022/10/17
- bug#58509: 29.0.50; Synchronous nativecomp, Eli Zaretskii, 2022/10/18
- bug#58509: 29.0.50; Synchronous nativecomp, Andrea Corallo, 2022/10/18
- bug#58509: 29.0.50; Synchronous nativecomp, Lars Ingebrigtsen, 2022/10/18
- bug#58509: 29.0.50; Synchronous nativecomp, Andrea Corallo, 2022/10/19