On 12/17/05, Partap Davis <[EMAIL PROTECTED]> wrote:
>
>
> Hmm.  So even with a lisp implementation that compiles to native code,
> you're still, in essence, running a virtual machine that handles (and
> possibly compiles) function calls?  This thread is probably not the place
> for it, but I'd like to learn more about this...any pointers on where to
> look?

I'm also very new to Lisp, but I don't think a VM is generally the
right idea.  I tend to think of my Lisp image as an operating system. 
The image has a built in interpreter and/or compiler.  When you
compile an s-exression, instead of going to a file on disk (as a C
compiler would do it), the resultant code is loaded into the image and
becomes part of it.  When you have the compiled function in the image
you can call it.
You can in theory do this all simply in C, but I don't know of an
actual example.

Can some more experianced Lispers offer up their thoughts on how a
Lisp image works?

Thanks
Brad
_______________________________________________
Gardeners mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/gardeners

Reply via email to