4 ms·
Worth noting that it is possible to have threads without the complications of concurrent modification. You just need to pass things between threads as immutable
by RHSeeger 9y ago
Worth noting that it is possible to have threads without the complications of concurrent modification. You just need to pass things between threads as immutable values. Tcl does it this way (prior to having threads added, it used only an event loop, like JS).
- deleted 9y ago[deleted]
- tyingq 9y agoJS webworkers add a sort of multithreading. They force an internal copy, or force a transfer of ownership of anything you postMessage() over.