This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: continuation and multi-threading
- To: Miroslav Silovic <silovic at zesoi dot fer dot hr>
- Subject: Re: continuation and multi-threading
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 02 Aug 2000 00:57:40 +0200
- Cc: djurfeldt at nada dot kth dot se, Keisuke Nishida <kxn30 at po dot cwru dot edu>, guile at sourceware dot cygnus dot com
- Cc: djurfeldt at nada dot kth dot se
- References: <m3g0oqnjrp.fsf_-_@indy.STUDENT.CWRU.Edu><m3d7jxa9gv.fsf@indy.STUDENT.CWRU.Edu><p2tpunx85vu.fsf@bohne.zrz.tu-berlin.de><m33dksvk8i.fsf@indy.STUDENT.CWRU.Edu><200007311359.NAA00736@ruebe.zrz.tu-berlin.de><AD4WUXvScB@khim.sch57.msk.ru> <m3wvi2m0pw.fsf@indy.STUDENT.CWRU.Edu><87punux90c.fsf@piracy.red-bean.com><m3ya2h1vk4.fsf@indy.STUDENT.CWRU.Edu><873dkpwmw5.fsf@piracy.red-bean.com><m3vgxlo5db.fsf@indy.STUDENT.CWRU.Edu><xy73dkohlvy.fsf@mdj.nada.kth.se><m3ittkpxav.fsf@indy.STUDENT.CWRU.Edu><xy7ya2geoc2.fsf@mdj.nada.kth.se> <7e7la0ppzo.fsf@zesoi.fer.hr>
- Reply-To: djurfeldt at nada dot kth dot se
Miroslav Silovic <silovic@zesoi.fer.hr> writes:
> Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:
>
> > > If this works, I don't think I have to do anything special - just to
> > > implement a few additional VM instructions. Why do I need to break
> > > the stack into frame objects?
> >
> > Don't ask me. :)
>
> Because that way you can get continuations to perform -fast-. :)
I'm all for fast continuations and see their value. I said don't ask
me only because I don't know anything about Keisuke's VM---*yet* ;-)
As I said in a previous response to Keisuke, in some VM designs, it is
possible to do something which is more efficient than stack copying.
Do you understand Keisuke's VM well enough to say that breaking the
stack into frames would be a viable solution? (I ask this because I'm
interested, not because I want to put you on slippery ground.)
Can you describe the gain of doing this?