6 ms·
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 a
by debois 8mo 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.
- dadoum 8mo agoD is a GC language too so the pattern does not hold that well.
- dvfjsdhgfv 8mo ago> Then the systems languages (C, Zig, C++) are pretty close I'm sorry, I don't see C among the results.
- debois 8mo agoMy mistake, sorry. Same for D above. Point stands, though: if your language is too far down the list, better algorithms might be enough.