3 ms·
The argument regarding the VM based languages is not correct. Having a JIT allows you to use dynamic compilation so you can adjust the running code depending on
by abhaga 15y ago
The argument regarding the VM based languages is not correct. Having a JIT allows you to use dynamic compilation so you can adjust the running code depending on the context. For example you can do heavier optimization for hot code paths. This is something which might give a VM based language an edge.
Doesn't Haskell come out better on certain benchmarks as compared to C/C++?
- ghc 15y agoThere are some instances of Haskell outperforming C/C++, but this is generally limited to situations where unboxing, strict application and Haskell's type system allow GHC to perform some amazing optimization. In other words, don't expect Haskell to outperform C/C++ in realistic circumstances.