This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Guile vs C performance


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