Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.





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

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

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


My mistake, sorry. Same for D above.

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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: