News for hackers. Stuff that matters.
Re:From 60 Frames per Second to 500 in Haskell by skittles on Wednesday October 15, 2014 @12:42PM (#8459555)
Haskell is strongly and statically typed which means its compiler can generate more optimized code. The compiler also creates programs that run without a virtual machine. Clojure is dynamically typed and runs on the JVM. It is still really fast compared to many other dynamic languages.
Re:From 60 Frames per Second to 500 in Haskell by wereHamster on Wednesday October 15, 2014 @01:30PM (#8460112)
> The compiler also creates programs that run without a virtual machine.

To be honest, the whole GHC runtime is sortof a VM. It manages thunks, evaluates them etc. It may not have the same overhead as JVM, but there definitely is some.

Re:From 60 Frames per Second to 500 in Haskell by rwosync on Wednesday October 15, 2014 @12:59PM (#8459775)
Static typing is mostly orthogonal, Haskell is mostly blazing fast because of all the aggressive compiler optimizations and the last decade of hard work by Simon Marlow and others on the parallel runtime.
Re:From 60 Frames per Second to 500 in Haskell by tome on Wednesday October 15, 2014 @01:19PM (#8460005)
Static types provide guarantees that help the compiler know when optimizations are valid.
Re:From 60 Frames per Second to 500 in Haskell by Ericson2314 on Wednesday October 15, 2014 @01:23PM (#8460043)
The second part is true, but that optimization would have been much harder, if not impossible, to implement had they had to rely on some sort of flow analysis instead of static typing.
Re:From 60 Frames per Second to 500 in Haskell by jgalt212 on Wednesday October 15, 2014 @02:13PM (#8460533)
so is Typed Clojure much faster than regular dynamic Clojure?