News for hackers. Stuff that matters.
[dead]
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.

Re:Making Rust binaries smaller by default by zozbot234 on Wednesday January 24, 2024 @02:48AM (#39114731)
That's not "process overhead" it's just a bit of feature/code review. Which is necessary if you want to ensure that you're making consistently high quality software.
Re:Making Rust binaries smaller by default by baq on Wednesday January 24, 2024 @02:23AM (#39114572)
Low priority issue easily fixed by googling first if you actually care.

And it isn’t like release builds with debug symbols are a bad thing. Getting good bug reports matters, too.

Re:Making Rust binaries smaller by default by edflsafoiewq on Wednesday January 24, 2024 @02:26AM (#39114582)
As the article points out, having debug symbols for only the stdlib is not very useful.
Re:Making Rust binaries smaller by default by eviks on Wednesday January 24, 2024 @03:10AM (#39114873)
Except it is a bad thing, you just need to increase the low priority of reading the article