TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Catfs – Cache AnyThing Filesystem Written in Rust

7 pointsby khcalmost 8 years ago

1 comment

khcalmost 8 years ago
This is my attempt at learning rust and also build something that I can potentially use. I&#x27;d have to say that the feeling of being reasonably sure that my code is free of many classes of bugs is a very nice feeling indeed, but I am still not entirely sure if the effort to fight against the compiler was worth it.<p>Two shortcomings that I noticed building my first rust project:<p>* many lifetimes that are easy for humans to reason about are difficult&#x2F;impossible to express to the compiler, so I had to use unsafe hacks.<p>* the std library does not feel complete or well thought out. For example too many string types with different sets of functions. Also many IO functions are too abstracted away.<p>Happy to elaborate more and hear what others think about catfs or rust!
评论 #14827755 未加载
评论 #14823645 未加载