2012/2/16 David Nolen <dnolen.li...@gmail.com>

> On Wednesday, February 15, 2012, Brandon Bloom <snprbo...@gmail.com>
> wrote:.
>
> > There are analogous constructs in a single-threaded, async-callback
> world. In particular, many Javascript libraries have a concept of promises
> and futures for managing the async callback speghetti. Like I said, that
> part of the puzzle needs much more thought. This is step one: Implement
> robust dynamic binding.
>
> Step one is properly describing the problem. There are many possible
> solutions many which don't try to graft Clojure's concurrency concepts onto
> a single-threaded environment.

Forgive me if I'm wrong, but global vars / dynamic variables have
essentially more to do with scoping than multithreading, e.g. they existed
in lisps and other languages way before thread support was added to them.

So I don't understand why you are rejecting the idea of adding support for
them based on the argument that Javascript is monothread ...


> You're working on a particular solution - others already exist in the JS
> world as you've mentioned. A robust solution can be implemented via CPS
> transformation, and that can be provided as a ClojureScript library without
> changing the meaning of binding as it's currently implemented.
>
> I would expand your design notes  before you continue down any particular
> solution. Otherwise it will have insufficient justification.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to