[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why is Elisp slow?
From: |
조성빈 |
Subject: |
Re: Why is Elisp slow? |
Date: |
Tue, 7 May 2019 22:01:12 +0900 |
> 2019. 5. 7. 오후 9:56, Stefan Monnier <monnier@IRO.UMontreal.CA> 작성:
>
>>> - Writing wrappers in lisp for all our C functions exposed to Lisp I
>
> All those are defined with a "DEFUN" macro on the C side.
> Whatever change is needed on this side can likely be made largely
> mechanically, so I'm not worried.
>
> Similarly, you'll need to rewrite all the functions/macros like CONSP,
> SYMBOLP, FIXNUMP, XCAR, XCDR, make_fixnum, ... Performance of those
> is important.
Why would you not use the default CL’s defun, car, cdr, symbol-p, cons-p, etc,
etc?
>> What I was thinking about using CL to support Elisp is to define a new
>> namespace for symbols (which, in CL terms, is a so-called ‘package’)
>> named ‘elisp’.
>
> As I already mentioned, this already exists: elisp.lisp.
>
>
> Stefan
>
- Re: Why is Elisp slow?, (continued)
- Re: Why is Elisp slow?, Jean-Christophe Helary, 2019/05/06
- Re: Why is Elisp slow?, Ergus, 2019/05/06
- Re: Why is Elisp slow?, Ergus, 2019/05/06
- Re: Why is Elisp slow?, Ergus, 2019/05/07
- Re: Why is Elisp slow?, 조성빈, 2019/05/07
- Re: Why is Elisp slow?, Ergus, 2019/05/07
- Re: Why is Elisp slow?, Stefan Monnier, 2019/05/07
- Re: Why is Elisp slow?,
조성빈 <=
- Re: Why is Elisp slow?, Stefan Monnier, 2019/05/07
- Re: Why is Elisp slow?, Ergus, 2019/05/07
- Re: Why is Elisp slow?, 조성빈, 2019/05/07
- Re: Why is Elisp slow?, Stefan Monnier, 2019/05/07
- Re: Why is Elisp slow?, Ergus, 2019/05/07
- Re: Why is Elisp slow?, Ergus, 2019/05/09
- Re: Why is Elisp slow?, 조성빈, 2019/05/09
- Re: Why is Elisp slow?, Ergus, 2019/05/10
- Re: Why is Elisp slow?, 조성빈, 2019/05/10
- Re: Why is Elisp slow?, tomas, 2019/05/10