|
|
|
|
|
by wz1000
4068 days ago
|
|
> If you have an array that fills a significant fraction of your memory (say, tens of Gigabytes), you don't have another choice but to use mutation (Haskell doesn't support that). Haskell does support mutation, it just requires it to be controlled. Take a look at Data.Array.ST and Data.Array.IO > Erlang's light-weight threads are a boon. Having a webserver written in Erlang and using Erlang as a server-side language, you can support a lot of sessions at once. GHC provides a very similar thing in the form of "green threads". |
|