3 ms·
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 h
by igouy 5y ago
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.
- naasking 5y agoThere'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.
- igouy 5y ago> … how fast you will typically go… Why would we think that would be similar for both you and `grumpyprole`.
- naasking 5y agoYou 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.
- igouy 5y agohttps://benchmarksgame-team.pages.debian.net/benchmarksgame/program/knucleotide-java-4.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...