TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why do you hate (or love?) your language's package manager?

2 点作者 nathandaly大约 2 年前
We&#x27;re getting ready to design a package manager for Rel, the declarative relational language we&#x27;re building at RelationalAI (https:&#x2F;&#x2F;relational.ai&#x2F;). I know that building a package manager is a fraught task, and that people have very strong feelings about their package managers. Why do you hate yours? What mistakes should we take care to avoid?<p>Or if you&#x27;re one of the lucky few blessed with happy package management, what is it you love about yours?

2 条评论

PaulHoule大约 2 年前
My problem w&#x2F; pip is that it is unsound. It&#x27;s particularly problematic that it works for simple projects and not hard to live with for complex projects with a single dev, but if you have a few freshers working on a complex project you will always be helping them unbreak their builds and sometimes their whole Python installation.<p>The Python community is chasing new shinies that are 98% correct (e.g. Poetry... which you&#x27;d think wouldn&#x27;t be so damn slow) instead of insisting on 100% which is usually cheaper and faster than the interminable process of pushing a bubble around under the rug.<p>I had my own problems w&#x2F; conda back in the day but got back into it recently because today you can be up and running w&#x2F; transformer models on the GPU in conda in minutes, which is about 3000x faster than it was back in the day. I sketched out a design for a correct package manager for Python that only worked on wheels. Packages based on eggs would have to be built into wheels... It turns out that you pretty much have to do the same thing if you need to install pip packages into a conda installation and have it work 100% of the time.
idiomaticrust大约 2 年前
I&#x27;ve used a few package managers that use json and I&#x27;m really glad that cargo uses toml.<p>IMO xml&#x2F;json&#x2F;yaml are PITA file formats.
评论 #35136618 未加载