News for hackers. Stuff that matters.
Re:Benchmarking 20 programming languages on N-queens and mat... by mlhpdx on Wednesday January 03, 2024 @10:42AM (#38855335)
The implementation isn’t using any modern C# features?
Re:Benchmarking 20 programming languages on N-queens and mat... by akashcoach on Wednesday January 03, 2024 @10:48AM (#38855412)
Which modern features do you mean? Java and C# code looks similar to me.
Re:Benchmarking 20 programming languages on N-queens and mat... by neonsunset on Wednesday January 03, 2024 @10:52AM (#38855476)
Unfortunately it doesn't. The newest and hottest way to do this is to either use bespoke matmul from System.Numerics.Tensors or at least using Vector<T> for SIMD (which is trivial and not "the last mile" optimization it often seems to be).