2 ms·
Lightweight threads are a much better fit for many applications. If you are writing one of those applications, this benchmark shows that you can get great perf
by jrockway 17y ago
Lightweight threads are a much better fit for many applications. If you are writing one of those applications, this benchmark shows that you can get great performance using Haskell... with only a few lines of code.
I am sure C would do better with a proper userspace thread library, but nobody has submitted such a program to the shootout yet. "If it's so easy..."