4 ms·
That fact stands out immensely. The Scala code and java code should be equal as the first can be written exactly like the second. Don't even see Clojure. Hate t
by wheaties 15y ago
That fact stands out immensely. The Scala code and java code should be equal as the first can be written exactly like the second. Don't even see Clojure. Hate to see what times they get there.
- verroq 15y agoExcept Scala has no 'break' (that isn't a hack using exceptions), this makes imitating imperative style difficult and some syntaxical sugar should no doubt ensure that Scala will always be slower than Java.
- BindGuice 15y agoClojure is there but where is clang?
- igouy 15y agoclang is waiting for someone like you, who wants to spend their time building language implementations on the LLVM toolchain and measuring program runtimes - http://shootout.alioth.debian.org/demo2/which-programming-languages-are-fastest.php?llvmgcc=on&clang=on&java=on&ghc=on&csharp=on&fsharp=on http://shootout.alioth.debian.org/demo2/which-programming-la... http://shootout.alioth.debian.org/help.php#llvm http://shootout.alioth.debian.org/help.php#llvm
- igouy 15y agoWhat would be interesting about Scala programs written exactly like Java programs? Hint: If you want to check for some text on a web page, use page search.