@BrendanEich @briankardell I don't really know what that means for web workers, but it gives me pause before saying sync in workers is fine
-
-
Replying to @domenic
@domenic@BrendanEich@briankardell "sync APIs in workers" is a fork-the-language move. Let's not and say we did.2 replies 0 retweets 1 like -
Replying to @wycats
@wycats Not so. Modal dialogs on main thread are counterexample. But again: I'm asking only about workers.@domenic@briankardell2 replies 0 retweets 0 likes -
Replying to @BrendanEich
@BrendanEich apis would work diff depending on thread, or only available in one or the other? Does seem a little weird.@wycats@domenic1 reply 0 retweets 0 likes -
Replying to @briankardell
@briankardell Assume no DOM or other APIs on compute worker, but still want sync input for Emscripten et al.@wycats@domenic2 replies 0 retweets 0 likes -
Replying to @BrendanEich
@BrendanEich sync input like file/xhr?@wycats@domenic2 replies 0 retweets 0 likes -
Replying to @briankardell
@briankardell Any sync input on a worker.@wycats@domenic1 reply 0 retweets 0 likes -
Replying to @BrendanEich
@BrendanEich but those same things can happen in the main thread, right? They'd be different based on where they ran?@wycats@domenic1 reply 0 retweets 0 likes -
Replying to @briankardell
@briankardell some APIs are already main thread only. Are you srsly objecting to worker-only APIs?@wycats@domenic2 replies 0 retweets 0 likes -
Replying to @BrendanEich
@BrendanEich I'm not, no, I'm asking whether there are/would be examples that work in both main/worker differently.@wycats@domenic1 reply 0 retweets 0 likes
@briankardell @BrendanEich @domenic this is not very hard, tbh
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.