| ▲ | spockz an hour ago | |
Well yes. But most of those studies assume/assert control over the environment. In this case you are running in the browser and you have to deal with the primitives it gives you. Both in compute management (threads/workers), communication (RPC, messages, shared memory, sockets), as scheduling (like having yield or not. I’m not sure whether inventing a setup like green threads in JavaScript/workers would even be possible. That is not to say that we should just forget about those learnings though. | ||