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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The Python linter Ruff is a win for open source – and Rust

12 点作者 MilnerRoute10 个月前

1 comment

j-krieger10 个月前
A lot of people like to say that they&#x27;re using Rust because it&#x27;s safe. But I don&#x27;t think it&#x27;s entirely that.<p>I think Rust is fun, in a way that it lacks a lot of what I would call “friction” in other languages.<p>If I set up a larger CPP project and plan to use dependencies, I need to set up vcpkg or conan, or wrangle my way through makefiles. The language itself tends to get in my way, too. When I use python, I have to think about package management within pip, PYTHONPATH and I tend to encounter weird bugs because I forgot language intricacies like the jupyter notebooks having all variables inside a global scope, string interning or that late binding closures behave why they do.<p>I really enjoy writing rust because cargo manages all my needs. I don&#x27;t fight the borrow checker for personal projects, either. I just use `copy` and that&#x27;s it.
评论 #40943609 未加载