Follow

the stability story with rust is just, not working with the way the current library ecosystem works. you can barely compile current crates with the current compiler, let alone crates from a few months ago, and sure as hell you won't be compiling anything you haven't maintained in the last year.

this is a deeply frustrating aspect of working with Rust and it makes me scared of writing anything long term in it anymore. you really do just have to pin specific versions of the compiler to keep the lights on.

it's also increasingly feeling like the Node style approach to dependencies is creating untenable dependency trees (surprising nobody) that balloon compile times and maintenance cost to ridiculous scale.

my oldest rust project is over 4 years old and the compiler breaks it every few months. if I were to compile it today, it would still take around 6 minutes to compile everything, if I miraculously got all the dependency versions lined up to compile under the current compiler.

@eevee many of the problems revolve around the lockfile secretly locking old versions of derive macro crates when trying to upgrade dependencies, and subtle api changes in the standard library over the years, or awkwardness surrounding the use of semver, but i've also rarely had situations where i just flat out cannot compile an entirely untouched crate

@eevee these subtle changes happen in tiny libraries multiple steps of transience down the tree and it breaks everything

Sign in to participate in the conversation
Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!