News for hackers. Stuff that matters.
Re:Show HN: tere – A Faster Alternative to cd+ls by wongarsu on Friday July 15, 2022 @11:11AM (#32108970)
Yes, Rust has a very different philosophy to the standard library. As soon as something enters the standard library its API is basically set in stone, since there's no versioning for the standard lib. As a consequence, Rust choses to keep a lot of "must-have" functionality in crates, where it can evolve and compete. (rather than just adding more and more HTTP clients to the standard lib like Python did :) )
Re:Show HN: tere – A Faster Alternative to cd+ls by mxben on Friday July 15, 2022 @11:37AM (#32109226)
> As soon as something enters the standard library its API is basically set in stone

Is that really all that different from Python?

Re:Show HN: tere – A Faster Alternative to cd+ls by chrismorgan on Friday July 15, 2022 @11:46AM (#32109332)
No, that’s the point: if you put this stuff in the standard library, it gets frozen forever, and that’s why Rust doesn’t.
Re:Show HN: tere – A Faster Alternative to cd+ls by infinityio on Friday July 15, 2022 @12:42PM (#32110043)
To quote the python developers guide:

> Because of Python’s conservative nature when it comes to backwards-compatibility, when a module is added to the stdlib its API becomes frozen.

So it sounds like they do do something fairly similar, but just a different mindset on adding libraries