This is the mail archive of the
mailing list for the Guile project.
Re: mod_guile design problems
Maciej Stachowiak <email@example.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
That'd be great too, and does seem easier... though still tricky.