3 ms·
> If LISP is so fantastic why isn't there a serious effort to make it multicore-friendly? There is. It's called Clojure.
by cutler 3y ago
> If LISP is so fantastic why isn't there a serious effort to make it multicore-friendly?
There is. It's called Clojure.
- pdimitar 3y agoOther 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 3y 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 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.