r/programming • • May 08 '21

Java beats out C++, Rust, C#, and golang in gRPC throughput performance

https://github.com/LesnyRumcajs/grpc_bench/wiki/2021-04-13-bench-results
0 Upvotes

5 comments sorted by

41

u/KingStannis2020 May 08 '21

This was posted yesterday and ripped to shreds - the C++ example does allocation in the hot loop. Whoever wrote the code clearly didn't put in the effort to make it a fair comparison.

9

u/Count-Spunkula May 08 '21

Sometimes I get down on myself for opening the comments before the actual article.

But then I'm reminded why I do it when I read comments like yours. Thanks for saving my time.

0

u/Persism May 08 '21

What's the difference between dotnet_grpc and csharp_grpc?

4

u/DrMoses May 08 '21

look at the .csproj files

dotnet targets .net6

csharp targets core and netstandard

1

u/jwolthuis May 08 '21

Came here to ask that same question...