3 ms·
Reading this article, I want the same now for js code that involves web-workers... How can I write code that involves a webworker in a way that I can simulate
by Gehinnn 3y ago
Reading this article, I want the same now for js code that involves web-workers...
How can I write code that involves a webworker in a way that I can simulate every possible CPU scheduling between the main thread in the webworker (given they communicate via post message and no shared array buffer)? Is it possible to write such brute force test in pure JS, without having to simulate the entire computer?
- mrkeen 3y agoUse TLA+/PlusCal for this. It's what it's there for.