3 ms·
>I think Eich is advocating against explicit thread support in JavaScript Oh! Well I sure read that wrong. I thought he was against threads in the browser. So
by ars 18y ago
>I think Eich is advocating against explicit thread support in JavaScript
Oh! Well I sure read that wrong. I thought he was against threads in the browser. So I guess there is hope.
If one tag opens another, it's a child of the first, so they should thread together.
Javascript already has threads anyway (setTimer, and events), they are just serially scheduled - on a single core it's identical to regular threads. So you already have to deal with concurrency issues in javascript apps (although it's not as bad as full threading since I think a single function is allowed to run to completion before something else is scheduled).