News for hackers. Stuff that matters.
Re:.NET 6 vs .NET 5 speedup by Mikeb85 on Sunday November 21, 2021 @04:36PM (#29299985)
How is it meaningful?

I can inline C code in Ruby, does that mean Ruby is as fast as C now?

I'd much rather see a comparison of idiomatic code in different languages. When I choose a language to build something in I'm not thinking "How can I write C in this language?"...

Re:.NET 6 vs .NET 5 speedup by symbol-mason on Sunday November 21, 2021 @08:20PM (#29301635)
Inline C/ASM is literally a different language. System.Runtime.Intrinsics is a library. Just because this one benchmark used the library in a C-like style doesn't mean that's required.

There are many simpler implementations in all languages. I actually like that there are multiple implementations, as this lets us estimate the benefit and complexity of adopting various optimizations. Limiting the benchmark to naive implementations would penalize languages with more broad capabilities for optimization.

I'd personally prefer a benchmark limited to memory-safe implementations, though.

Re:.NET 6 vs .NET 5 speedup by igouy on Sunday November 21, 2021 @08:00PM (#29301492)
Please show the objective rules that could be used to identify "idiomatic code in different languages".