On Fri, Feb 17, 2012 at 1:37 PM, Brandon Bloom <snprbo...@gmail.com> wrote:
> The problem is dealing with with asynchronous code, right? Not capturing >> / restoring dynamic bindings. >> > > No, the problem is that there is no mechanism to capture and restore > dynamic bindings. > > This is a shortcoming irrespective of asynchronous code. > I think the question is whether ClojureScript needs to support bound-fn at all. But maybe it really is useful in a single-threaded environment! :) I looked over your implementation again. It looks like the beginning of interesting line of investigation. Your implementation will likely be *dramatically* slower (I would not be surprised if it's >100X slower). You should test this and consider ways to decrease the impact. Would also be useful to know the performance impact on a common use case - binding fns. Also this seems like yet another breaking ClojureScript change. David -- 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