Re: Guile vs C performance

Andrew Archibald (aarchiba@calum.csclub.uwaterloo.ca)
06 Aug 1998 13:17:19 -0400

David Tillman <dtillman@cannonexpress.com> writes:

> This is not the usual Scheme vs C question but it will
> show how shallow the depth of my Guile knowledge is.
>
> I will be writing a script in Guile that will call many
> custom functions. I could write these additional functions
> in Guile or C - they are very simple error logging things
> and such.
>
> Since I will already be running Guile, will it impact performance
> one way or another to do the extra functions in Guile?
>
> -Dave

They will probably be somewhat slower. But for error reporting and
suchlike, they probably won't be slower enough to go to the trouble of
refcompiling every time you find a bug. Also, it may be easier enough
to do it in scheme that you write a more efficient method.

Andrew