[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [VM] Tail recursion and multiple values
From: |
Ludovic Courtès |
Subject: |
Re: [VM] Tail recursion and multiple values |
Date: |
Wed, 04 Mar 2009 00:45:16 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) |
Hello,
Andy Wingo <address@hidden> writes:
> The compiler is almost to the point that it can replace the interpreter,
> semantically. What is needed is to read and compile toplevel definitions
> one at a time, so we can e.g. change the reader, or the other dynamic
> things that people expect. Then if that's the case, then we can just hit
> the user with the one-time cost, for the long-term benefit.
>
> This would also allow us to move closer to having a single codepath,
> which has its benefits, broader tail-recursion among them.
Yes, that's a significant benefit. But I think we can only afford it
once the compiler is sufficiently fast. IMO Guile targets short-lived
programs (aka. "scripts") more than, say, Ikarus, which is why
"compilation" (be it actual compilation or bare memoization) time
matters.
Thanks,
Ludo'.
- Re: [VM] Tail recursion and multiple values, Andy Wingo, 2009/03/01
- Re: [VM] Tail recursion and multiple values, Ludovic Courtès, 2009/03/01
- Re: [VM] Tail recursion and multiple values, Andy Wingo, 2009/03/02
- Re: [VM] Tail recursion and multiple values, Ludovic Courtès, 2009/03/02
- Re: [VM] Tail recursion and multiple values, Andy Wingo, 2009/03/02
- Re: [VM] Tail recursion and multiple values, Andreas Rottmann, 2009/03/02
- Re: [VM] Tail recursion and multiple values, Eduardo Cavazos, 2009/03/02
- Re: [VM] Tail recursion and multiple values,
Ludovic Courtès <=
- Re: [VM] Tail recursion and multiple values, Clinton Ebadi, 2009/03/04