ConcurrencyI intend to fully support concurrent Haskell. A few of the concurrency primitives are implemented right now but things are pretty broken and it shouldn't be used yet. Unfortunately we can't support lightweight threads (unless your JVM happens to use lightweight threads). Implementing lightweight threads would require managing our own stack which isn't possible (at least not with good performance, it would come down to a giant array representing the stack with all the bounds checking that goes with it). If you're doing something like writing a server designed to handle thousands of concurrent requests you're probably better off writing a thin NIO wrapper around your Haskell code. |