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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Rsbuild – A Better Vite?

72 点作者 synergy207 个月前

23 条评论

blixt7 个月前
It is easy to get JS build fatigue. But I love the fact that these competitors push the incumbents forward. SWC was one of the earlier Rust builders, which then became absorbed into Vercel and turned into Turbopack (is my understanding), and then we have Rome which turned into a Rust rewrite as Biome (though they are barely at the level of compilation), and the Vite team seems to be making progress as fast as their HMR system, with Vite 6 already looking quite impressive with its stack of open and modular Rust-based AST parser&#x2F;compiler&#x2F;linter (Oxc, originally another solo project like SWC) all the way up to the Rolldown bundler.<p>I&#x27;m curious to see what Rsbuild brings on top of this already very competitive space of Rust-based builders (and I haven&#x27;t even mentioned the fantastic non-Rust ones like ESBuild!)<p>I would personally bet on Vite at this time because it&#x27;s the most complete package with the most momentum, and it&#x27;s already hit some of the best speeds out there. Plus I am really rooting for a Rust-based package that compiles well as WASM because I am very inclined towards projects that do a lot of code analysis&#x2F;compilation in the browser.
评论 #41942870 未加载
stickfigure7 个月前
<i>&lt;checks watch&gt;</i> oh, I see, it&#x27;s time to rewrite my javascript builds again. My how the time flies.
评论 #41942009 未加载
评论 #41942424 未加载
评论 #41942269 未加载
dcre7 个月前
The better, faster, Rust-powered Vite is… Vite.<p><a href="https:&#x2F;&#x2F;voidzero.dev&#x2F;posts&#x2F;announcing-voidzero-inc" rel="nofollow">https:&#x2F;&#x2F;voidzero.dev&#x2F;posts&#x2F;announcing-voidzero-inc</a>
评论 #41943111 未加载
评论 #41942682 未加载
评论 #41942464 未加载
JasonSage7 个月前
I think it’s more accurate to call title this “… - A Better Webpack?”<p>It’s a build tool that swaps an underlying Webpack process with a Rust-powered process which aims to be API-compatible. With the Webpack ecosystem.<p>The Vite developers are working on the analogous Vite replacement, which is an API-compatible Rust rewrite of Rollup: <a href="https:&#x2F;&#x2F;rolldown.rs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;rolldown.rs&#x2F;</a>
评论 #41943917 未加载
croes7 个月前
According to them it’s about webpack not vite.<p><a href="https:&#x2F;&#x2F;rsbuild.dev&#x2F;community&#x2F;releases&#x2F;v1-0" rel="nofollow">https:&#x2F;&#x2F;rsbuild.dev&#x2F;community&#x2F;releases&#x2F;v1-0</a><p>And 30ms slower as vite at hmr is totally ruining my DX
评论 #41942739 未加载
BiteCode_dev7 个月前
Their own home page says their Hot reload on RSBuild is slower than Vite&#x27;s.<p>Since I don&#x27;t care if my build takes 1 second more (per their benchmark again), but I do care very much that the page refreshes faster when I do an edit, it&#x27;s a hard sell.
评论 #41944096 未加载
gnabgib7 个月前
Title &amp; H1: <i>Rsbuild</i><p>Got a fair bit of attention 44 days ago (25 points) <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41502473">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41502473</a>
评论 #41942356 未加载
STRiDEX7 个月前
If you use webpack and haven&#x27;t looked into rspack you should! Can drop it in and speed up large webpack apps, currently investigating it at Sentry.
评论 #41943990 未加载
评论 #41944538 未加载
rk067 个月前
“- A Better Vite?” is not part of the original title. Is that okay?
评论 #41942182 未加载
donatj7 个月前
In the past two years I have gone Webpack -&gt; Parcel -&gt; Webpack -&gt; Vite -&gt; Rollup<p>I live for the day bundlers are no longer needed.<p>The state of modern JS such that much of it does not work on the web by default is absurd.<p>All the work that&#x27;s been spent building better and better bundlers would have been better spent fixing the blight that Node, CJS and the death of Bower caused to begin with.<p>How we ended up in a place where most JS is server-first and needs to be adapted for the web is beyond me.
评论 #41942666 未加载
评论 #41942718 未加载
评论 #41942729 未加载
steve_adams_867 个月前
Interesting, it’s by a team from ByteDance. It all appears to be under the MIT license.
anonzzzies7 个月前
Ah another weekly bundler&#x2F;build thing. What a miserable life in the frontend world. Please stop this.
wg07 个月前
RDD - &quot;Rust driven development&quot;.
nprateem7 个月前
Just added my first preact to my django site after alpine couldn&#x27;t cut it. I consciously avoid anything needing the js build nonsense. So far so good.
Aeolun7 个月前
I think this is the better Webpack right? The better Vite is called Farm.<p>To be fair, both are improvements over the existing tools, if not entirely compatible.
评论 #41942263 未加载
jaequery7 个月前
I can&#x27;t wait for Deno to get rid of all these bundlers
aliasxneo7 个月前
I clicked the link and had a weird experience. Sort of a cold, solemn spirit overcame me as I was, once again, presented with a landing page complete with three to six prominently displayed buzzwords. Perhaps even deja vu, a la Groundhog Day, where I&#x27;ve been subjected to this same thing, over and over again. Framework. Rust. Javascript.
评论 #41942348 未加载
WesolyKubeczek7 个月前
I tried rsbuild recently to upgrade from webpack. It panicked.<p>So I just went middle ground and ditched Babel for swc.
floydnoel7 个月前
does it have any Vite compatibility? or just webpack?
brtknr7 个月前
Copyright ByteDance? Ouch
baxuz7 个月前
stop
fourseventy7 个月前
Just what the world needs, another javascript bundler.
auggierose7 个月前
It&#x27;s from ByteDance.