Announcing Rust 1.37.0 | Rust Blog

The Rust team is happy to announce a new version of Rust, 1.37.0. Rust is a programming language that is empowering everyone to build reliable and efficient software.

11 Likes

It's strange that the Library changes lists {i,u}{8,16,64,128,size}::reverse_bits but not {i,u}32::reverse_bits. Was that stabilized in an earlier release?

3 Likes

Ah damn! That's a bug which slipped through the review. :frowning:
Mind filing a PR against the blog post?

2 Likes

Recompiled an app from 1.36.0 with 1.37.0.
The binary went from 2,795,368 to 2,754,704, a reduction of 40,664 bytes (same performance).

2 Likes

−1.45% Take a victory lap.

1 Like

Yes, this is a nice reductions for Rust (any reduction is nice), but Rust still has a long way to go for reducing binary sizes.

The comparable Nim code binary, using latest Nim 0.20.2 (at time of writing), compiled with gcc 9.2.1, comes in at 161,720 bytes (and the Rust version is 10%+ slower).