[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: data-crunching in guile
From: |
Neil Jerram |
Subject: |
Re: data-crunching in guile |
Date: |
Fri, 26 Jun 2009 22:25:04 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Andy Wingo <address@hidden> writes:
> Hi Neil!
Hi Andy!
> On Fri 26 Jun 2009 00:47, Neil Jerram <address@hidden> writes:
>
>> Thanks, I see now. But presumably even VM code will frequently call
>> out to primitives all over libguile, won't it?
>
> Over time, I'd say no. I see functions written in C migrating over to be
> written in Scheme, like PLT did recently with `map'. We should port
> srfi-1 back to Scheme I think :) Not to mention silly things like
> string-any being in boot-9...
>
> There's no reason for Scheme to be slow. Of course, this is the "over
> time" view, currently we're not there...
>
> And yet, disassemble the functions that you use regularly, and often you
> find they just use VM ops, and don't call out to primitives. That shows
> that the VM is, while virtual, still quite a good machine for
> computation.
Fair enough, I can see that now. In other words, that there will be
long enough passages of pure VM code to make the VM code size important.
Neil
Re: data-crunching in guile, Andy Wingo, 2009/06/26