Crates.io doesn't need to die necessarily. It needs some competition as a wake-up call.
Once a better alternative is out there, crates.io will either wither and die or improve. If it matches its competition in terms of quality and reliability, everyone is better off. If not, the alternative solution will take over.
I'm eager for this crates.io alternative to land, assuming they don't break too many projects in their improvements.
Why does something like that need to be secret...? Isn't it in the community's best interest?
Drama avoidance and avoiding bikeshedding seem obvious. Much easier to present a working system than a design that will get nitpicked into irrelevancy.
Yeah, that makes sense.
Re:Was Rust Worth It?
by sapling-ginger on Wednesday October 25, 2023 @09:47PM
(#38020729)
That quite funny. Just like when some people formed a violent militant group to take down a violent tyranical dictatorship. Of course they would promise that they would absolutely de-arm right after the dictatorship has been overthrown, and immediately establish a peaceful democratic government with fair election. They absolutely would, would they? They would never turn into what they were formed to replace, would they?
If one tyranny has namespaces and the other doesn't, I'll prefer the former.
pub use std::sic::semper; const step_on_snek = false;
Re:Was Rust Worth It?
by awesome_dude on Wednesday October 25, 2023 @08:33PM
(#38020181)
How secret is it now that you've posted on HN about it?
Wait I thought only I could read the secret
yes, HN hides secrets automatically
******* is my password, but you can't see it. Type your password back, and I won't be able to see it. Try it!
I'm not sure it's working the way you described:
hunter2
Re:Was Rust Worth It?
by kaycey2022 on Thursday October 26, 2023 @12:52AM
(#38021730)
It’s working. I really can’t see it. All I see is ****
Re:Was Rust Worth It?
by overtomanu on Thursday October 26, 2023 @02:29AM
(#38022376)
Maybe you are getting tricked to give out your password...
tr!pt0ph@n3
It's an open secret.
Hilarious.
I find this interersting as most namespacing solutions would need the cargo team involved and I've heard nothing about this.
Re:Was Rust Worth It?
by bluejekyll on Wednesday October 25, 2023 @11:57PM
(#38021446)
This was my first thought too. And there are a lot of questions that will get asked, like, will all crate library names start being prefixed as well? So you end up with
use::bar; // changing to
use::foo::bar;
I assume the library names that can be overridden in cargo would still be accepted, and then it all gets a little messy. The transition would be very messy.
My preferred syntax route is a new separator in package names and the lib name gets populated by everything after it.
Still doesn't solve all of the policy problems with namespacing.
Not naming names, but I know several people working to put Crates.io out to pasture.
There's a level of playing nice with them for the time being (eg. build reproducibility), but it's only KTLO.
Crates.io needs to die for Rust to thrive. They're a bungled, mismanaged liability. New code, new leadership.