5 ms·
First of all, it is quite obvious that Go and OCaml are completely different languages designed around very different philosophies and styles. Also saying that
by uriel 15y ago
First of all, it is quite obvious that Go and OCaml are completely different languages designed around very different philosophies and styles.
Also saying that you are not trolling doesn't make your comment any less trollish, specially given that your only claim is false, Go, despite still being much younger and greatly unoptimized is already considerably faster than OCaml: http://shootout.alioth.debian.org/u64/benchmark.php?test=all&lang=go&lang2=ocaml http://shootout.alioth.debian.org/u64/benchmark.php?test=all...
- swannodette 15y agoI'm asking about technical merits of one over the other, which you didn't respond to at all. And look at the overall scores on the 64bit one-core and quad-core benchmarks. OCaml is ahead.
- chc 15y agoI'm looking at the overall scores on the 64-bit single-core and Go is six places ahead of OCaml. On the 64-bit quad, Go is five places ahead. The only one where OCaml appears to come close is single-core 32-bit, in which Go comes out one place ahead of OCaml. (And just so we're clear: I actually like OCaml and have never used Go. So I'm not trying to wave some Go fanboy flag or anything. Those are just the numbers.)
- swannodette 15y agohttp://shootout.alioth.debian.org/u64q/which-language-is-best.php http://shootout.alioth.debian.org/u64q/which-language-is-bes... http://shootout.alioth.debian.org/u64/which-language-is-best.php http://shootout.alioth.debian.org/u64/which-language-is-best...
- uriel 15y agoI thought you were talking about performance, in which case the relevant chart is: http://shootout.alioth.debian.org/u64/which-programming-languages-are-fastest.php http://shootout.alioth.debian.org/u64/which-programming-lang... Which shows Go is well ahead of OCaml. The "which language is best" chart you linked has rather arbitrary weighting.
- igouy 15y agoBoth pages show "performance" - they show 2 different summary statistics of "performance". > The "which language is best" chart you linked has rather arbitrary weighting. That chart has exactly the same "weighting" as the chart you say is "the relevant chart"! > Which shows Go is well ahead of OCaml. Which shows the time measurements for those programs with Go 6g and OCaml completely overlap http://shootout.alioth.debian.org/u64/which-programming-languages-are-fastest.php?go=on&ocaml=on&calc=chart http://shootout.alioth.debian.org/u64/which-programming-lang... The time measurements are similar for both Go 6g and OCaml - http://shootout.alioth.debian.org/u64/benchmark.php?test=all&lang=go&lang2=ocaml#faster-programs-measurements http://shootout.alioth.debian.org/u64/benchmark.php?test=all...
- igouy 15y agoDid you downvote my reply instead of trying to justify your own comments ?
- chc 15y agoYou can't downvote replies to your own comments on Hacker News, so that seems unlikely unless he's sock-puppeting.
- igouy 15y ago> six places ahead ... five places ahead ... Those tables do not show a rank # by each programming language implementation because that might encourage people to make a completely bogus comparison! (For example, six places rather than five just because one table includes an extra programming language - Clean.) You're both being silly! "The numbers" for Go 6g and OCaml overlap and are quite similar.
- burgerbrain 15y agoYou seem to be under the misunderstanding that simply because you asked a question that has a technical response it is not a troll.
- swannodette 15y agoHalf the responses were of the reasonable variety - "Not really much to say as far as technical merits - but it feels better to program in Go for me". Some brought up interesting similar projects. And others corrected my errors. Since when is sparking reasoned debate/discussion trolling?