top | item 46846100

(no title)

debois | 29 days ago

The study seems to be “solve this the obvious way, don’t think too hard about it”. Then the systems languages (C, Zig, C++) are pretty close, the GC languages are around an order of magnitude slower (C#, Java doing pretty good at ca. 3x), and the scripting languages around two orders of magnitude slower.

But note the HO-variants: with better algorithms, you can shave off two orders of magnitude.

So if you’re open to thinking a bit harder about the problem, maybe your badly benchmarking language is just fine after all.

discuss

order

dadoum|29 days ago

D is a GC language too so the pattern does not hold that well.

dvfjsdhgfv|29 days ago

> Then the systems languages (C, Zig, C++) are pretty close

I'm sorry, I don't see C among the results.

debois|29 days ago

My mistake, sorry. Same for D above.

Point stands, though: if your language is too far down the list, better algorithms might be enough.