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: mod_guile design problems


Maciej Stachowiak <mstachow@viewlogic.com> writes:

> Greg Badros wrote:

> > This would be super cool for writing Scwm modules, too-- I'd been
> > dreaming about this for a while, but it seems pretty hard, but the
> > payoff is great:  modules could still be written in Scheme, still have
> > access to Scwm's data structures, but execute asynchronously in a
> > pre-emptively scheduled second process (a bit nicer than the cooperative
> > threads that Guile already has) that can crash and burn without killing
> > the window manager.
> > 
> 
> It seems to me that this model is not much better than pre-emptive OS-level
> threads, but much more complex to implement*. A process that can scribble
> into the Guile memory space can definitely screw it over pretty bad,
> whether it is in the same process or not.
>
> So I would rather see people expend effort on making Guile work with Posix
> threads.

That'd be great too, and does seem easier... though still tricky.

<snip>

Greg

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