[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is Elisp really that slow?
From: |
Óscar Fuentes |
Subject: |
Re: Is Elisp really that slow? |
Date: |
Tue, 14 May 2019 17:09:09 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Of course, there's the question of how what this language should look
> like, but I think more importantly, there's the question of how its
> compiler is used:
> - can any random Emacs user download your elisp-ish-c code and run it
> with the same ease as if it were written in Elisp?
See below.
> - I.e. does it require re-starting Emacs?
I hope not.
> Does it require installing a C compiler or some such external tool?
No. Just LLVM as a library.
> Does it work on all the architectures supported by Emacs?
It would work on all architectures supported by LLVM.
> - can incorrect elisp-ish-c code cause your Emacs to seg-fault?
For code that the user can download or write himself, this is
undesirable and therefore automatic checks must be added. For code
written by the Emacs developers and meant to compete with C, explicit
checks make sense.
One thing that cannot be left out from this C-ish Elisp is garbage
collection, else the language would have a very different runtime model.
This is probably the most difficult part because GC is something that
you must add on top of LLVM.
- Re: Is Elisp really that slow?, (continued)
- Re: Is Elisp really that slow?, Óscar Fuentes, 2019/05/12
- Re: Is Elisp really that slow?, Eli Zaretskii, 2019/05/12
- Re: Is Elisp really that slow?, Óscar Fuentes, 2019/05/12
- Re: Is Elisp really that slow?, Eli Zaretskii, 2019/05/12
- Re: Is Elisp really that slow?, Óscar Fuentes, 2019/05/12
- Re: Is Elisp really that slow?, Eli Zaretskii, 2019/05/12
- Re: Is Elisp really that slow?, Emanuel Berg, 2019/05/12
- Re: Is Elisp really that slow?, Stefan Monnier, 2019/05/12
- Re: Is Elisp really that slow?, Óscar Fuentes, 2019/05/12
- Re: Is Elisp really that slow?, Stefan Monnier, 2019/05/14
- Re: Is Elisp really that slow?,
Óscar Fuentes <=
- Re: Is Elisp really that slow?, Samuel Wales, 2019/05/12
- Re: Is Elisp really that slow?, Stefan Monnier, 2019/05/13
- Re: Is Elisp really that slow?, Emanuel Berg, 2019/05/13
- Re: Is Elisp really that slow?, Emanuel Berg, 2019/05/13
- Re: Is Elisp really that slow?, tomas, 2019/05/14
- Re: Is Elisp really that slow?, Emanuel Berg, 2019/05/14
- Re: Is Elisp really that slow?, tomas, 2019/05/14
- Re: Is Elisp really that slow?, Emanuel Berg, 2019/05/15
- Re: Is Elisp really that slow?, tomas, 2019/05/15
- Re: Is Elisp really that slow?, Emanuel Berg, 2019/05/15