News for hackers. Stuff that matters.
Re:Escaping from Anaconda's Stranglehold on macOS by zbentley on Monday September 02, 2024 @07:32AM (#41424498)
Yep. And while that’s not something I’d call a mistake per se, it can be troublesome. What if a crate you depend on at different versions provides access to global state? What if a transitive embeds definitions from that crate into public contracts consumed by code using a different version?

Rust offers mitigations or means of detection for those cases, but they still require thought and troubleshooting when they occur. Given Python’s lack of static typing and more-likely-to-be-nonexpert user base and usage patterns, I suspect that troublesomeness would not be a value-add for the Python platform.

Re:Escaping from Anaconda's Stranglehold on macOS by eru on Tuesday September 03, 2024 @05:37AM (#41433063)
Well, for what it's worth, Rust's linter clippy likes to warn you about using different versions of the same crate. I think the warning is mostly formulated in terms of helping you reduce compile times, but your concerns about mutability might also be justified.