News for hackers. Stuff that matters.
Re:Thoughts on Rust, a few thousand lines in by bsder on Wednesday January 09, 2019 @07:16PM (#18870404)
> Of course sorting floats happens a lot.

Is this true?

I am actually struggling to remember the last time I did a sort with a float/double as the key--especially in a performance bounded context

... <thinking> ...

Aha. Graphic engine. Octtree with coordinates.

I really had to think about that.

So, I'm a bit skeptical of float sorting happening a "lot".

Is this perhaps an ML primitive somewhere?

Re:Thoughts on Rust, a few thousand lines in by harrisi on Wednesday January 09, 2019 @11:11PM (#18871465)
Languages that only have floats, such as JavaScript and Lua, certainly sort floats quite often.