3 ms·
Sure, but has it been benchmarked? From what I've seen on the benchmarks game GHC is neck and neck with the JVM in most stuff, which is damn impressive. That is
by jolux 7y ago
Sure, but has it been benchmarked? From what I've seen on the benchmarks game GHC is neck and neck with the JVM in most stuff, which is damn impressive. That is admittedly a silly comparison, though.
- randomidiot123 7y agoOf course they have been benchmarked. Both compile to native code, so performance can be roughly the same if the algorithms are the same. However, figuring out how to design a Haskell program that reaches maximum performance is very difficult, and the code probably won't be idiomatic.
- jolux 7y ago> Both compile to native code, so performance can be roughly the same if the algorithms are the same. Can and will are very different statements here though, particularly as the quality of a compiler makes an enormous difference in the performance of the resulting code.