[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Guile as a runtime engine?

From: Emiliano
Subject: Re: Using Guile as a runtime engine?
Date: Mon, 26 Feb 2001 09:32:46 +0100

Marius Vollmer wrote:
> Emiliano <address@hidden> writes:
> > I'm looking for a runtime engine for a procedural language. Can
> > guile be used for this?
> Yes, I'd think so.  Are you worried that it might not be fit for
> procedural languages because Guile implements the language Scheme,
> which is sometimes referred to as a functional language?


> IF this is
> the case, fear not, as Guile has good support for the procedural style
> of programming.

Where can I find more information on that?

> Guile does not have a official byte-code interface.  It does have a
> internal form for fast execution, but it is not exported.  You would
> have to translate your language into Scheme, and have Guile execute
> that.  I think that this is a good way to go, in general.  Scheme code
> should be easier to produce than low-level byte-codes.

It probably would. It's not the route I want to go, though.

> Theoretically, Scheme has enough features to allow the translation of
> all languages known to man, I think, but using these features might be
> not as efficient as one might hope.  I'm thinking especially about
> call/cc here.  If you use call/cc to break out of loops for example,
> you might be disappointed with the performance of call/cc in Guile.
> But I think it is safe to just ignore this until it becomes a problem
> in reality.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]