[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: |
Mon, 14 Aug 2023 03:50:19 -0400 |
AFAIK, Elisp is full of type checks (all these BUFFERP/CHECK_STRING in
C code). Also, AFAIR, native-comp is making use of some of the type
checks as well, allowing some extra optimizations.
SBCL does far more detailed checks than that. Which is why it makes
it very unportable, since the base case is trivial, but the optimized
one is not. Check for example FLOOR in sbcl/src/code/numbers.lisp ,
and compare it to FLOOR in Emacs Lisp.
SBCL has many luxuries that Emacs does not have.
So, there might be some room for improvement after all.
There is always a door for that ... but someone needs to open it.
Do you have some references detailing what SBCL does?
http://www.sbcl.org/sbcl-internals/ and the source code.
- Re: Shrinking the C core, (continued)
- Re: Shrinking the C core, tomas, 2023/08/12
- Re: Shrinking the C core, Emanuel Berg, 2023/08/13
- Re: Shrinking the C core, Emanuel Berg, 2023/08/13
- Re: Shrinking the C core, tomas, 2023/08/13
- Re: Shrinking the C core, Emanuel Berg, 2023/08/13
- RE: [External] : Re: Shrinking the C core, Drew Adams, 2023/08/13
- Re: Shrinking the C core, Andreas Schwab, 2023/08/13
- Re: Shrinking the C core, Emanuel Berg, 2023/08/13
- Re: Shrinking the C core, Alfred M. Szmidt, 2023/08/14
- Re: Shrinking the C core, Ihor Radchenko, 2023/08/14
- Re: Shrinking the C core,
Alfred M. Szmidt <=
- Re: Shrinking the C core, Emanuel Berg, 2023/08/15
- Re: Shrinking the C core, Ihor Radchenko, 2023/08/16
- Re: Shrinking the C core, Emanuel Berg, 2023/08/19
- Re: Shrinking the C core, Ihor Radchenko, 2023/08/20
- Re: Shrinking the C core, Emanuel Berg, 2023/08/20
- Re: Shrinking the C core, Ihor Radchenko, 2023/08/20
- Re: Shrinking the C core, Alfred M. Szmidt, 2023/08/20
- Re: Shrinking the C core, Emanuel Berg, 2023/08/20
- Re: Shrinking the C core, Alfred M. Szmidt, 2023/08/20
- Re: Shrinking the C core, Ihor Radchenko, 2023/08/20