Lurker News
Back to discussion

Comment by nurettin

nurettin1 reply#
In this particular case it sounds like Rust is just making things more tedious rather than providing value.
kzrdude1 reply#
The end result is a generic sorting algorithm for Rust, which can be used for a lot of things /in Rust/, so it adds value to the Rust ecosystem.

The sorting algorithm doesn't add anything without users :) so for non-academic implementations, maybe using it in Rust projects is what the author wants. Rust is also quite open to contributions, so it might be exciting if there's a chance to have it in Rust std.

nurettin1 reply#
I understand that it is written in Rust for Rust's sake, but in this case it looks like it doesn't really provide any benefit to implement such an algorithm particularly in Rust due to Rust's memory model making it harder to sort integers efficiently.
kzrdude#
I think such issues can be resolved with some collaboration, it's too early to say right now at least.