News for hackers. Stuff that matters.
Re:Was Rust Worth It? by baby on Wednesday October 25, 2023 @08:30PM (#38020156)
Is this a joke?
Re:Was Rust Worth It? by theendisney2 on Wednesday October 25, 2023 @08:47PM (#38020300)
I think the correct approach is to do full-real-name_good-package-name it might not be practical but it would be legendary.
Re:Was Rust Worth It? by bsder on Wednesday October 25, 2023 @09:18PM (#38020562)
Not even remotely a joke.

The inverse-style domain name thing does a really good job of removing the whole issue of squatting from the ecosystem. You have to demonstrate some level of commitment and identity through control of a domain name in order to publish.

I would also say that this puts just enough friction so that people don't publish dogshit.

crates.io demonstrates quite clearly that you either have to go all the way and take responsibility for curation or you have to get completely out of the way. There is no inbetween.

Re:Was Rust Worth It? by speed_spread on Wednesday October 25, 2023 @10:26PM (#38020976)
Having tried Java and other languages, no, it's not a joke. Other than XML Maven got a lot of things right.
Re:Was Rust Worth It? by chii on Wednesday October 25, 2023 @11:58PM (#38021452)
and i dont particularly think that using xml is that bad. The schema is well defined, and gives you good autocompletion in any competent IDE (such as intellij).

It took some iterations before maven 3 became "good", so people forget that it wasn't as nice before now! Unfortunately, it seems that the lessons learned there is never really disseminated to other ecosystems - perhaps due to prejudice against "enterprisey" java. Yet, these package managers are now facing the sorts of problems solved in java.

Re:Was Rust Worth It? by kitd on Thursday October 26, 2023 @02:17AM (#38022298)
And you don't even need to use XML with Polyglot Maven

https://github.com/takari/polyglot-maven

Re:Was Rust Worth It? by hardware2win on Thursday October 26, 2023 @06:20AM (#38023756)
What the hell is that XML hate

Whats the diff between changing lib version in xml and json?

Re:Was Rust Worth It? by speed_spread on Thursday October 26, 2023 @09:11AM (#38025040)
I have no problem with XML in general and even think it's still the better format for many things. But it's not really appropriate for a build config. Thankfully Maven now offers polyglot but I've seen no use of it in the wild.