3 ms·
Other commenters say it's nowhere close to what I'm looking for, btw. And let me repeat that I am not looking for the old-school OS threads support. Almost all
by pdimitar 4y ago
Other commenters say it's nowhere close to what I'm looking for, btw.
And let me repeat that I am not looking for the old-school OS threads support. Almost all programming languages have that. It's nowhere nearly good enough.
- kraf 4y agoIt 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 4y 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 4y 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 4y 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 4y agoI do think about that pretty frequently. It wouldn't even be all that hard! Maybe Loom will push things over.