Re:A comparison of Rust's borrow checker to the one in C#
by vips7L on Friday November 01, 2024 @12:28PM
(#42018640)
Its not a strange reply at all. _All_ of those languages are cheating. Those benchmarks are junk because they don't test implementations in the language.
Re:A comparison of Rust's borrow checker to the one in C#
by igouy on Friday November 01, 2024 @01:16PM
(#42019251)
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
Sure looks like it's written in Java!
Even if you prohibit PCRE2, the .NET submissions using out-of-box Regex engine end up being about 4 times faster than Java.
Surprisingly, even though .NET's BigInteger is known for its inefficiency, it ends up being more memory efficient and marginally faster at pidigits than a Java submission that does not use GMP. The implementations are not line-by-line equivalent so may not be perfectly representative of performance of each BigInt implementation.
My point being - if you look at the submissions closer, the data gives much clearer picture and only supports the argument that C# is a very usable language for solving the tasks one would usually reach for C, C++ or Rust instead.