Niko Matsakis
unread,May 9, 2013, 6:08:38 AM5/9/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Herhut, Stephan A, Norm Rubin, dev-tech-js-en...@lists.mozilla.org
On Wed, May 08, 2013 at 11:50:16PM +0000, Herhut, Stephan A wrote:
> Reducing that cost is probably more of an engineering problem than a
> conceptual issue but engineering cost is an important metric,
> too. Now, if we would defer computations or even combine them, side
> effects of elemental functions might appear later or even multiple
> times, depending on the runtime or browser.
To me this is the biggest issue. It is largely an engineering issue,
yes, though there is also the question of finding a way to define
precisely what is 'side-effecting' and what is not.
> I believe view suffers from these problems, too.
I had presumed that `view` would be explicit about the possible
interleaving of execution order. In other words, it would say that
individual map iterations will occur lazilly as the view is accessed,
and not together as an atomic unit. That's certainly one of the
dangers of the idea: more undefined behavior.
Niko