Andy Wingo <wi...@pobox.com> writes:

> Hi Neil!

Hi Andy!

> On Fri 26 Jun 2009 00:47, Neil Jerram <n...@ossau.uklinux.net> 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


Reply via email to