[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Always using let*
From: |
Drew Adams |
Subject: |
RE: Always using let* |
Date: |
Sun, 14 Sep 2014 16:06:17 -0700 (PDT) |
> > (The other reason is that for some Lisps the bindings of `let'
> > can be done in parallel, which can be quicker.)
^^^ ^^^
>
> Urban legend!
Perhaps you would prefer "could" to "can"?
Lisps such as Common Lisp were specifically designed with this
parallel evaluation in mind. The spec (and CLTL(2)) specifically
emphasizes the inherent parallelism (independence) here that
implies the *possibility* of parallel evaluation.
Whether a given Common Lisp implementation takes advantage of
this inherent parallelism is optional. Likewise for the other
explicitly parallel constructs in CL.
For `psetf', for example, CLTL says that "the assignments of
new values are done in parallel. More precisely, all subforms
that are to be evaluated are evaluated from left to right;
after all evaluations have been performed, all of the
assignments are performed in an unpredictable order."
- Re: Always using let*, (continued)
- Re: Always using let*, Stefan Monnier, 2014/09/16
- Re: Always using let*, Emanuel Berg, 2014/09/16
- Message not available
- Re: Always using let*, Emanuel Berg, 2014/09/16
- Re: Always using let*, Stefan Monnier, 2014/09/16
- Re: Always using let*, Emanuel Berg, 2014/09/16
Re: Always using let*, Joe Fineman, 2014/09/14
Message not available
Message not available
Message not available
Message not availableRe: Always using let*, Stefan Monnier, 2014/09/14
Re: Always using let*, Pascal J. Bourguignon, 2014/09/14
Re: Always using let*, Stefan Monnier, 2014/09/15
RE: Always using let*, Drew Adams, 2014/09/15
Re: Always using let*, Stefan Monnier, 2014/09/15
Message not availableRe: Always using let*, Emanuel Berg, 2014/09/15
Re: Always using let*, Pascal J. Bourguignon, 2014/09/15
Re: Always using let*, Barry Margolin, 2014/09/15