Re:.NET 6 vs .NET 5 speedup
by Mikeb85 on Sunday November 21, 2021 @08:04PM
(#29301518)
And they're slower than Java... Albeit super close. The parent I responded to was referencing how C# is supposedly faster than Java... But idiomatic C# is about the same (slightly slower).
[ Parent
| on HN ]
Isn't that writing Java in C#?
Why should C# programs be limited to what can be done in Java?
You can do the same thing in Java, but apparently no one wrote it yet because it's just a silly micro-benchmark. Either way I'd rather see idiomatic code. Or just write C/C++ directly.