3 ms·
This is independent of OS threads or green threads. The problem is that with Loom the developer loses control whether they can execute something on one OS threa
by valenterry 4y ago
This is independent of OS threads or green threads. The problem is that with Loom the developer loses control whether they can execute something on one OS thread only or not. Whereas right now they conciously have to decide if they want to run something sync or async.
- seer-zig 4y agoNothing is stopping the developer from starting a single thread executor and using that to launch many virtual threads. Is that what you meant?
- valenterry 4y agoWell, that is something that is desired and also something we can already do in the JVM world. What I mean is that semantics of existing code changes (and becomes harder to understand for future code).