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 startup


Jonas Oberg <jonas@gnu.org> writes:

> I've been doing some testing with Guile by means of trial and error.
> I think this is a FAQ (though it wasn't listed in the FAQ as far as
> I can tell), so please feel free to flame me.

:-(

> So, this is all nice and stuff, but scm_boot_guile() seems to take
> some 2-3 seconds on my computer which isn't very nice at all.  I
> know there's probably some scheme-parsing involved in booting the
> guile interpreter, but are there some ways one can speed up the
> process?

I've used unexec successfully with guile, which allows guile programs
to start up very quickly.  Unfortunately, it doesn't play nice with
dynamic loading on some platforms, and there guile-unexec package that
I've seen works only on ELF platforms.  Recent versions of hobbit
support unexec, I believe, but check the hobbit docs to be sure.

It would be nice to have an unexec module that worked on all
platforms.  It would also be nice if guile just plain started up
quicker. ;^)

-russ


--
"New opinions are always suspected, and usually opposed without any
other reason but because they are not already common."    
             -- John Locke

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