Re: =[xhr]

David Rajchenbach-Teller wrote:
> Clearly, it would require big changes, although compiling to return
> Promise and using Task.js + yield at call sites would probably be much
> simpler than CPS conversion.

All call sites, every last Java method => JS function call? That means 
every single function becomes a generate, all functions use yield and so 
become generator functions, all calls construct a generator which must 
have .next() called to get it started. The performance is not going to 
be tolerable.

This vague suggestion has come  up with Emscripten re: sync APIs for 
workers, and it's a bogus hand-wave. Please don't suggest it as a 
solution and then make definite plans to reject sync APIs in workers or 
schedule removal of XHR's async=false mode on a date certain!


Received on Wednesday, 3 September 2014 15:35:09 UTC