Re: futures in common lisp



On 31 Aug., 12:43, __mario__ <rio_4...@xxxxxxxx> wrote:
Hi,

tried it on c.l.s wihtout any response. Maybe there is any common lisp
implementation which implements futures or a similar constructs. I know
about the multilisp impl but I'm wondering if it was ever implemented in
a recent version of cl.

Thanks

-- Mario

I have not seen that recently. If you look at
old Qlisp descriptions, it had Futures, too.

Most Common Lisp implementations will provide
some threading/process model.

If I understand futures right, then they would
need some low-level support from the
Implementation. When the future has computed
a value, then it would need to replaced by
the value. Also problematic: the interaction
with catch/throw and generally the condition
handling. I don't think that's easy to
do "right". Then there is the interaction
with other constructs. + needs its arguments
to compute the sum. CONS could store the
future in a cons and have it replaced
later. Also not easy to provide.

So, from reading about it Futures don't
look that attractive to me - from
an implementation point of view.

(wow, answering at some beach at the Elbe
with an iPhone :-) )
.



Relevant Pages

  • futures in common lisp
    ... tried it on c.l.s wihtout any response. ... Maybe there is any common lisp implementation which implements futures or a similar constructs. ... I know about the multilisp impl but I'm wondering if it was ever implemented in a recent version of cl. ...
    (comp.lang.lisp)
  • futures in scheme ?
    ... is there any scheme implementation which implements futures or a similar constructs. ... I know about the multilisp impl but I'm wondering if it was ever implemented in a recent version of scheme. ... This can be used to evaluated expressions in parallel. ...
    (comp.lang.scheme)