On Sun, Aug 25, 2013 at 11:41 AM, Geoffrey Garen <gga...@apple.com> wrote: >> The blink people are running into a bunch of issues by implementing them on >> the C++ side as opposed to inside the VM. > > I don’t think we can reason by analogy here. > > Is there a specific problem you’re concerned about?
The tension in Blink is between making it easy to subclass Promise in WebIDL versus making it easy for the garbage collector to trace object graphs that includes Promises. These considerations are different in WebKit because the integration between WebCore and JavaScriptCore works differently than the integration between Blink and V8. I'm happy to explain these issues in more detail if you would find that helpful, but I agree with ggaren that there's probably not much to learn from the Blink implementation because the design pressures are different than in WebKit. Adam _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev