3 ms·
You can't create lock-free data structures in Javascript (as of this comment), but you can do so in Java.
by kvathupo 5y ago
You can't create lock-free data structures in Javascript (as of this comment), but you can do so in Java.
- Sinidir 5y agoJavascript is singlethreaded. No locks and therefore no lockfree datastructures necessary. Even webworkers are only communicated with via copying messages.
- 5e92cb50239222b 5y agoJavascript is singlethreaded … which is why the root comment looks like pure trolling.