4 ms·
Javascript supports web workers which are effectively threads with the exception they don't share the application memory, but communicate over postMessage(). T
by miohtama 15y ago
Javascript supports web workers which are effectively threads with the exception they don't share the application memory, but communicate over postMessage().
This makes possible share the calculations across the cores, but since postMessage() serializes each transferred object the effectiveness of this might not be that good.
- jiggy2011 15y agoyes, that's not really going to work for something that needs good latency like a physics engine.
- deleted 15y ago[deleted]