[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shrinking the C core
From: |
Ihor Radchenko |
Subject: |
Re: Shrinking the C core |
Date: |
Sun, 20 Aug 2023 13:12:10 +0000 |
<tomas@tuxteam.de> writes:
> I humbly suggest you read up a bit on compilation. Those
> type checks happen at compile time for a reason: the very
> expensive data flow analysis provides the compiler with
> information which is quite difficult to obtain later.
> ...
> but for that you have to take your program painstakingly
> apart into basic blocks, take note of what leads to where
> and think hard about which variables are munged where.
Correct me if I am wrong, but don't we already make use of the extensive
static analysis when native-compiling Elisp? AFAIU, the main problem
with typechecks is that native-comp cannot do anything about
subroutines, where a number of repetitive typechecks are performed. So,
subroutine code cannot make use of the information provided by
native-comp static analysis performed by GCC.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- Re: Shrinking the C core, (continued)
- Re: Shrinking the C core, Emanuel Berg, 2023/08/22
- Re: Shrinking the C core, Alfred M. Szmidt, 2023/08/23
- Re: Shrinking the C core, Emanuel Berg, 2023/08/23
- Re: Shrinking the C core, Emanuel Berg, 2023/08/25
- Re: Shrinking the C core, Emanuel Berg, 2023/08/20
- Re: Shrinking the C core, tomas, 2023/08/20
- Re: Shrinking the C core,
Ihor Radchenko <=
- RE: [External] : Re: Shrinking the C core, Drew Adams, 2023/08/20
- Type declarations in Elisp (was: [External] : Re: Shrinking the C core), Ihor Radchenko, 2023/08/21
- Type declarations in Elisp (was: [External] : Re: Shrinking the C core), Gerd Möllmann, 2023/08/21
- Re: Type declarations in Elisp, Eli Zaretskii, 2023/08/21
- Re: Type declarations in Elisp (was: [External] : Re: Shrinking the C core), Ihor Radchenko, 2023/08/21
- Re: Type declarations in Elisp, Gerd Möllmann, 2023/08/22
- Re: Type declarations in Elisp, Ihor Radchenko, 2023/08/22
- Re: Type declarations in Elisp, Eli Zaretskii, 2023/08/22
- Re: Type declarations in Elisp, Emanuel Berg, 2023/08/22
- Re: Type declarations in Elisp, Andrea Corallo, 2023/08/25