News for hackers. Stuff that matters.
Re:.NET 6 vs .NET 5 speedup by igouy on Sunday November 21, 2021 @07:04PM (#29301084)
Please show the objective rules that could be used to identify "typical idiomatic Java" and "typical idiomatic C#".

Please show the objective rules to direct how comparison should be done when one languages "typical idiomatic" is not the same as some other languages "typical idiomatic" — to avoid you can write Java in any language.

Re:.NET 6 vs .NET 5 speedup by naasking on Sunday November 21, 2021 @07:37PM (#29301316)
There's some low hanging fruit, like not permitting specialized collections in Java for a set of integers. Because of type erasure these are all heap allocated in Java but not in .NET.

I think there's value in benchmarks showing both the fastest you can go if you need to (specializing everything to eke out max performance), and benchmarks showing how fast you will typically go if optimizing for productivity.

Re:.NET 6 vs .NET 5 speedup by igouy on Sunday November 21, 2021 @07:44PM (#29301374)
> … how fast you will typically go…

Why would we think that would be similar for both you and `grumpyprole`.

Re:.NET 6 vs .NET 5 speedup by naasking on Sunday November 21, 2021 @07:59PM (#29301480)
You could probably constrain it sufficiently for some set of problems. Maybe something like: Solve problem X using the standard library associative map by elaborating the following pseudo code.
Re:.NET 6 vs .NET 5 speedup by igouy on Sunday November 21, 2021 @08:10PM (#29301566)