News for hackers. Stuff that matters.
Re:Making Rust binaries smaller by default by kobzol on Wednesday January 24, 2024 @02:45AM (#39114704)
I have implemented the fix and got it approved in the span of about 3 weeks (and that was over the Christmas!). Doesn't seem that bad to me, given that it's a change that will affect pretty much any Rust user by default.
Re:Making Rust binaries smaller by default by afraca on Wednesday January 24, 2024 @03:30AM (#39115009)
I was curious about how an implementation for this would work and browsed the PR. Cool stuff, thanks for putting the effort in!

I noticed a very tiny typo which doesn't affect behaviour I think. https://github.com/rust-lang/cargo/pull/13257/files#r1464506...

Re:Making Rust binaries smaller by default by eviks on Wednesday January 24, 2024 @03:08AM (#39114860)
Even if just focused on time alone, that's 3 weeks and all the years when you kept rediscovering it

Then there is the fact that it required establishing the whole working group

All for a simple fix that positively affects pretty much any Rust user

Re:Making Rust binaries smaller by default by kobzol on Wednesday January 24, 2024 @08:51AM (#39117323)
It didn't really require establishing a working group :) That is just an effort to improve Rust binary sizes in general.

In the end, changes in Rust can take a very long time (years) sometimes. It's maintained and developed by volunteers, and it has been growing exponentially these past few years, so not everything can move forward as fast as we would like.