Announcing Rust 1.98.0

33 points by FedericoSchonborn


bitshift

The new algebraic math methods are an interesting way to do --ffast-math style optimizations while also keeping them compartmentalized.

Broader loop-vectorization is often enabled by using these algebraic methods as well.

This stood out to me because in my mind, the primary use case was to optimize big hairy math expressions. But maybe that's just part of it? Maybe out in the wild, there's more situations where you're doing a little bit of math in a hot loop?

I'm trying to think of an example where reordering floating point operations would allow you to use something like SIMD where you couldn't before.