[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shrinking the C core
From: |
Alfred M. Szmidt |
Subject: |
Re: Shrinking the C core |
Date: |
Sun, 20 Aug 2023 16:15:25 -0400 |
> Then, what does GCC do? AFAIK, GCC JIT takes the Elisp byte code,
> transforms it into JIT pseudocode, and optimizes the actual code flow.
>
> What does GCC do _WHERE_? What backend? What language? You're
> speaking in such broad terms that it makes it impossible to continue
> this discussion. I don't know how the native compilation works, but
> no matter what you feed to GCC it cannot do magic and any optimization
> should be done on what the Emacs compiler does.
Native compilation provides the necessary information about Elisp to GCC.
Native compilation provides nothing of the sort.
Otherwise, native compilation would be useless.
Native compilation removes the indirection of going through the VM,
that is a useful step. It also provides the JIT.
SBCL does transformation of Lisp code, there is a huge difference
there that clearly is being ignored here.
> That is the type of information SBCL knows about, or allows the user
> to specify. Emacs does not have that today, and that incures one set
> of overhead. There are plenty more...
AFAIK, users cannot specify type info manually, but types are tracked
when transforming Elisp byte code into LIMP representation.
You cannot track type information in a dynamically typed language
without providing hints, something Emacs lisp does not do.
- Re: Add more supported primitives in libgccjit IR, (continued)
- Re: Add more supported primitives in libgccjit IR, Ihor Radchenko, 2023/08/21
- Re: Shrinking the C core, Emanuel Berg, 2023/08/27
- Re: Shrinking the C core, Gregory Heytings, 2023/08/21
- Re: Shrinking the C core, Emanuel Berg, 2023/08/27
- Re: Shrinking the C core, Emanuel Berg, 2023/08/27
- Re: Shrinking the C core, Eli Zaretskii, 2023/08/21
- Re: Shrinking the C core, Ihor Radchenko, 2023/08/21
- Re: Shrinking the C core, Eli Zaretskii, 2023/08/21
- Re: Shrinking the C core, Emanuel Berg, 2023/08/28
- Re: Shrinking the C core, Ihor Radchenko, 2023/08/28
- Re: Shrinking the C core,
Alfred M. Szmidt <=
- Re: Shrinking the C core, Ihor Radchenko, 2023/08/20
- Re: Shrinking the C core, Alfred M. Szmidt, 2023/08/21
- Re: Shrinking the C core, Ihor Radchenko, 2023/08/21
- Re: Shrinking the C core, Alfred M. Szmidt, 2023/08/21
- Re: Shrinking the C core, Ihor Radchenko, 2023/08/21
- Re: Shrinking the C core, Alfred M. Szmidt, 2023/08/21
- Re: Shrinking the C core, Ihor Radchenko, 2023/08/21
- Re: Shrinking the C core, Alfred M. Szmidt, 2023/08/21
- Re: Shrinking the C core, Emanuel Berg, 2023/08/27
- Re: Shrinking the C core, Ihor Radchenko, 2023/08/27