Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As I understand it, the only synchronous channel between browser-JS threads of any sort (workers, separate tabs/iframes) is a SharedArrayBuffer. Without that, you just have async things like postMessage or leaving notes for other threads in local storage / cookies / etc., so you can't read two different values from the counter within one timeslice without SharedArrayBuffers.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: