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.


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?


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


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).


−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).


Really that seems odd. It that a result of the type system and ownership?

So it is highly optimized for performance at the expense of code size would you say?

The issue of Rust's binary sizes is a long standing one that is inherent to its design. Hopefully the sizes will get smaller as the language ages and the devs choose to address it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.