News for hackers. Stuff that matters.
Re:Meltdown and Spectre by SonOfLilit on Thursday January 04, 2018 @11:53AM (#16071821)
From the Spectre paper: Chrome reduced resolution of performance.now(), so they set up a webworker with a tight loop that increments a shared variable.
Re:Meltdown and Spectre by willtim on Thursday January 04, 2018 @12:05PM (#16071937)
Yes and creating one or more "web workers" (threads) is a significant side-effect. Javascript to me, looks more like a systems-programming language (imperative with threads and sockets) than something trusted for interactive web sites. The web is a huge mess and today we learn that hardware is too.
Re:Meltdown and Spectre by devit on Thursday January 04, 2018 @12:00PM (#16071886)
This is why Mozilla also removed support for shared variables (i.e. SharedArrayBuffer).