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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Bacon – a background Rust code checker

44 点作者 sea-gold大约 1 年前

6 条评论

proneb1rd大约 1 年前
I used to code with sublime and compile from time to time to check with compiler. Sometimes I’d go for an hour without running cargo and somehow it worked fine.<p>I have been doing rust since about 2016, in and out, and never questioned the approach but the tooling had improved dramatically in recent years.<p>I have switched to VSCode with rust-analyser and a few other extensions, which not only display errors but also types of variables which seems like a killer feature for me because it makes it so much easier.<p>I wonder what’s the motivation behind bacon given that it looks a bit outdated to program in rust this way in 2024.
评论 #39882345 未加载
评论 #39883035 未加载
评论 #39890342 未加载
评论 #39885114 未加载
junon大约 1 年前
Working on an OS in Rust, rust-analyzer chokes. A _lot_. I end up just having to run a compilation to see what I&#x27;ve broken.<p>Haven&#x27;t tried it yet but it looks like it&#x27;ll be an invaluable part of my toolbox. Thanks for posting this!
0atman大约 1 年前
I love LSP as much as the next person, but bacon&#x27;s flicker-free zero config clippy watching basically TAUGHT me Rust!
anacrolix大约 1 年前
I use this exclusively in my IDE (RustRover). I&#x27;ve never had a recent IDEA that had a usable &quot;problems&quot; or whatever window. I wish there was a bacon for Go, too. I check for compile problems in Go from the terminal with AwesomeConsole or whatever it&#x27;s called (in GoLand).
xwowsersx大约 1 年前
Bacon is fantastic. I always have it running when I&#x27;m writing Rust. It&#x27;s very fast&#x2F;performant.
dietr1ch大约 1 年前
I&#x27;d have assumed that using a language server would avoid the need for using something like this, but as a frequent user of ibazel (sort of inotify-watch+make for bazel) I can see how this can be enough to get productive without an editor that fully supports LSP