29 ms·
These reports are worse than useless. Any person with good understanding of computing knows that implementation plays a huge part in it. Why people wasting thei
by chj 15y ago
These reports are worse than useless. Any person with good understanding of computing knows that implementation plays a huge part in it. Why people wasting their time comparing speed of different programming languages while they should focus on different implementations. I guess the latter one is difficult so people all try to avoid it, and the first one is just so easy to do and everybody is doing it.
- wheaties 15y agoThat 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.
- verroq 15y agoSorry, but your Ruby code will never the same speed as C code, even if it is the same implementation. We'd all like to believe all programming languages are equal, but that's not the case.
- dalke 15y agoWhich of course the web site freely acknowledges. At the bottom of that page states the real question is "Which of these programming language implementations have the fastest benchmark programs?"
- igouy 15y agoAnd at the top of that page ;-)