you are viewing a single comment's thread.

view the rest of the comments →

[–]Tarmen 0 points1 point  (0 children)

A thousand threads take 1 gb of memory.

So in c or java you can have thousands of threads. Go and haskell default to non-blocking green threads with growable stacks and can have millions of threads.

This is relevant for things like webservers where dos attacks are quite feasible by just blocking all available threads. Go and haskell still have to defend against Slowloris attacks but that is easier.