News for hackers. Stuff that matters.
Re:A comparison of Rust's borrow checker to the one in C# by lossolo on Thursday October 31, 2024 @09:04PM (#42013094)
You should really create a way to filter solutions with SIMD intrinsics and without them.
Re:A comparison of Rust's borrow checker to the one in C# by igouy on Thursday October 31, 2024 @10:12PM (#42013443)
Like the hand-written vector instructions | "unsafe" section down-page?

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

It’s not that easy. I assume other programs hide the use in macros and libraries, in ways far beyond my simple understanding.

Re:A comparison of Rust's borrow checker to the one in C# by lossolo on Thursday October 31, 2024 @10:23PM (#42013501)
Cool! I didn’t see it before, maybe because I mostly use the language vs. language feature. There is no such section there, but it would be very helpful IMO, instead of clicking every solution to check which one is intrinsics free.
Re:A comparison of Rust's borrow checker to the one in C# by igouy on Thursday October 31, 2024 @10:38PM (#42013573)
> language vs. language

Where there are few enough programs that readers should check that the programs they compare seem appropriate for their purpose.

Re:A comparison of Rust's borrow checker to the one in C# by lossolo on Friday November 01, 2024 @01:13AM (#42014237)
Well, it's your site, so you can do what you want with it, but I don't believe what you just wrote is logical at all. Sometimes, you just want to see, in general, how one language compares to another when one uses intrinsics and the other doesn't, without having to click through every single benchmark across multiple versions to find one without intrinsics. This is just bad UX and waste of time.
Re:A comparison of Rust's borrow checker to the one in C# by neonsunset on Friday November 01, 2024 @03:32AM (#42014769)
Surely you wouldn’t say that if the language you wanted to win had SIMD API :)
Re:A comparison of Rust's borrow checker to the one in C# by igouy on Friday November 01, 2024 @12:09PM (#42018387)
> one uses intrinsics and the other doesn't

Why? Did you mean both use intrinsics or both don't?

> Sometimes, you just want to see

As-it-says, look for more-secs less-gz-source-code -- probably less optimised.

Re:A comparison of Rust's borrow checker to the one in C# by igouy on Saturday November 02, 2024 @07:09PM (#42029913)
*

But it’s not that easy.

Filters some but maybe not all and maybe filters some wrongly.