3 ms·
It has Go style concurrency, look for `core.async`. Maybe it could have been said that it wasn't lightweight enough and that would have been due to the JVM not
by kraf 3y ago
It has Go style concurrency, look for `core.async`. Maybe it could have been said that it wasn't lightweight enough and that would have been due to the JVM not providing the primitives but they're here now under the name "Virtual threads".
- pdimitar 3y agoIIRC somebody in this thread said it's not preemptive and doesn't have enough functionality. Quickly looking at it, it seems to be fully opt-in / cooperative parallelism solution which is IMO not good enough.
- ravi-delia 3y agoIt's...close-ish? It could really use default non-blocking IO, but honestly the reason no one's made one integrated solution yet is that giving a callback that pushes to a channel is mostly fine. I'd like something a little more robust obviously, but it's by no means a toy.
- pdimitar 3y agoOh definitely. I wouldn't call it a toy either, it's just weird that nobody bothered to make something more ready to consume.
- ravi-delia 3y agoI do think about that pretty frequently. It wouldn't even be all that hard! Maybe Loom will push things over.