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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

A better `ls` in Rust

5 点作者 selbekk超过 1 年前

3 条评论

tmtvl超过 1 年前
So if I understand it correctly:<p>- It&#x27;s not actually better than <i>ls</i>:<p>&gt; <i>ignoring the permissions and author of the files (because who cares about those)</i><p>- Most of the heavy lifting is done by <i>walkdir</i>.<p>A better title may have been &quot;The walkdir crate is awesome&quot;.
评论 #38516288 未加载
meepmorp超过 1 年前
Better (as long as you ignore all the missing features) and only 100 lines (as long as you don&#x27;t include the 3rd party libraries that do the heavy lifting).
tacone超过 1 年前
I don&#x27;t get the negativity, looks like a self ironic Rust tutorial to me, which may be quite useful to Rust beginners.