Live data from Hacker News

Golang vs. C# (.NET 5.0) at Benchmarks Game

benchmarksgame-team.pages.debian.net

111–114 of 114 posts

Re: Golang vs. C# (.NET 5.0) at Benchmarks Game

#111
post #108

Earlier quoted context omitted.

1. See all of the other arguments in this thread about "contrived rules" > You have repeatedly claimed "only for one language". How many languages are in practice prevented from using pre-allocation? How big is the cohort? Does it matter if it's exactly one or if it's two or three? Why are you fixating on this relatively irrelevant point rather than the more substantial point that has been reiterated a dozen times? >…

> How many languages are in practice prevented from using pre-allocation? How many provide GC? The substantial point is that you wish special treatment for Go lang. > … "the sky is blue" is merely my opinion… When all can see the vibrant orange red sunset.

Not special treatment, just a rules that allow for idiomatic programs. Of course I’ve said as much a dozen times now and you won’t engage with it, so I don’t expect you to now. ¯\_(ツ)_/¯

Re: Golang vs. C# (.NET 5.0) at Benchmarks Game

#112
post #77

Earlier quoted context omitted.

> I've never understood why… Perhaps they don't read the website text? > … no contact nor link… Search works.

I ran multiple search queries. I wouldn't be so dumb to post a comment like this here without having done my homework. The best I found after trying numerous keyword permutations was https://salsa.debian.org/benchmarksgame-team/benchmarksgame , but this did not appear to contain all of the benchmarks' source, just the source embedded in HTML, which is specious at best. This repository looks mostly like frontend HTML…

Perhaps these other projects are a better match with what you expect to see —

https://programming-language-benchmarks.vercel.app/

https://github.com/kostya/benchmarks

Re: Golang vs. C# (.NET 5.0) at Benchmarks Game

#113
post #59

Earlier quoted context omitted.

That is one reason I don't consider the language benchmark to be really relevant: a lot of benchmarks are taited by the exact rules of the competition.

And these rules are particularly bizarre. Rust, C, and C++ are all allowed to use custom allocators while Java and C# have GCs which are optimized for this particular micro benchmark but not for real world applications (although I hear Java’s GCs are making good headway on latency lately, and clearly all of the GCs are suitable for general application development). So it’s really just Go which is forbidden from an id…

Go optimizes ridiculously insanely for latency because it's driven by Hacker News articles about GC latency, not because it's better for "real world applications." Its atrocious throughput is entirely a consequence of that decision and is one of very the few useful things that the benchmark games do actually demonstrate. Java's unwillingness to provide an allocator with such an extreme tradoeff has proven a pretty good idea, and now they are able to provide only moderately worse latency than Go for "real world applications" with far better throughput.

Re: Golang vs. C# (.NET 5.0) at Benchmarks Game

#114
post #77

Earlier quoted context omitted.

> I've never understood why… Perhaps they don't read the website text? > … no contact nor link… Search works.

I ran multiple search queries. I wouldn't be so dumb to post a comment like this here without having done my homework. The best I found after trying numerous keyword permutations was https://salsa.debian.org/benchmarksgame-team/benchmarksgame , but this did not appear to contain all of the benchmarks' source, just the source embedded in HTML, which is specious at best. This repository looks mostly like frontend HTML…

> … made me doubt the provenance…

To address that concern, there's now a link in the homepage banner.

Post reply on HN