Hacker News new | ask | show | jobs
by kraf 1137 days 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".
1 comments

IIRC 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.
It'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.
Oh definitely. I wouldn't call it a toy either, it's just weird that nobody bothered to make something more ready to consume.
I do think about that pretty frequently. It wouldn't even be all that hard! Maybe Loom will push things over.