News for hackers. Stuff that matters.
Re:How JavaScript works: Event loop and the rise of Async pr... by RHSeeger on Saturday October 14, 2017 @11:50AM (#15472663)
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).
Re:How JavaScript works: Event loop and the rise of Async pr... by tyingq on Saturday October 14, 2017 @01:28PM (#15473175)
JS webworkers add a sort of multithreading. They force an internal copy, or force a transfer of ownership of anything you postMessage() over.