4 ms·
But by moving to a different language, you can make your app 360x faster. If your "app" is a toy microbenchmark with an under-specified benchmarking methodolog
by neilc 17y ago
But by moving to a different language, you can make your app 360x faster.
If your "app" is a toy microbenchmark with an under-specified benchmarking methodology, then sure. You could also make your "app" 360x faster by switching to a userspace thread implementation.
- jrockway 17y agoLightweight 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..."