Rspack: A fast Rust-based web bundler
github.com
Rspack: A fast Rust-based web bundler
1–10 of 11 posts
Re: Rspack: A fast Rust-based web bundler
#2Re: Rspack: A fast Rust-based web bundler
#3I wonder how this compares (performance and feature-wise) to esbuild ( https://github.com/evanw/esbuild ), which is also a bundler written in a compiled language (Go)? esbuild claims to be 10-100x faster than JS-based builders, while Rspack doesn't provide any concrete numbers (at least I didn't find any)...
Per their intro[0] page, I would recommend to read the entire intro page, it give some thought and brief comparison between webpack, vite, esbuild and turbopack.
[0] https://www.rspack.dev/guide/introduction.html#current-statu...
Re: Rspack: A fast Rust-based web bundler
#4This makes rspack looks like a competitor to Turbopack which is marketed as webpack's successor.
Re: Rspack: A fast Rust-based web bundler
#5From their intro [0]: We created Rspack to solve various performance problems we encountered while maintaining building tools at ByteDance. There were no tools in the market that could solve these problems well. We have a large number of monolithic applications within the company, all of which have very complex webpack configurations. This makes rspack looks like a competitor to Turbopack which is marketed as webpack…
Re: Rspack: A fast Rust-based web bundler
#6Re: Rspack: A fast Rust-based web bundler
#7From their intro [0]: We created Rspack to solve various performance problems we encountered while maintaining building tools at ByteDance. There were no tools in the market that could solve these problems well. We have a large number of monolithic applications within the company, all of which have very complex webpack configurations. This makes rspack looks like a competitor to Turbopack which is marketed as webpack…
ByteDance seems to be putting out a lot of open source Rust libraries (e.g. Monoio). How widely used is Rust within the company?
Re: Rspack: A fast Rust-based web bundler
#8Re: Rspack: A fast Rust-based web bundler
#9I wonder how this compares (performance and feature-wise) to esbuild ( https://github.com/evanw/esbuild ), which is also a bundler written in a compiled language (Go)? esbuild claims to be 10-100x faster than JS-based builders, while Rspack doesn't provide any concrete numbers (at least I didn't find any)...
> Rspack is compatible with webpack's configuration schema and loader architecture. You can seamlessly use familiar loaders such as babel-loader, less-loader, sass-loader, etc. Our long-term goal is to fully support most popular loaders including more complex cases such as vue-loader.
Re: Rspack: A fast Rust-based web bundler
#10From their intro [0]: We created Rspack to solve various performance problems we encountered while maintaining building tools at ByteDance. There were no tools in the market that could solve these problems well. We have a large number of monolithic applications within the company, all of which have very complex webpack configurations. This makes rspack looks like a competitor to Turbopack which is marketed as webpack…
ByteDance seems to be putting out a lot of open source Rust libraries (e.g. Monoio). How widely used is Rust within the company?
> Rust async runtime based on io-uring.
Awhhh heck yeah!
It's been a bit disheartening that neither Node.js/libuv[1] nor Deno[2] have adopted io_uring. Nice to see some signs of adoption. Bun too.
Side note, I was a bit confused about you mentioning ByteDance, but if I go to the web-infra-dev[3] github page, the description is We are from ByteDance, our goal is to build an open technical ecosystem to promote the development of frontend technology, so now it make sense. Just sharing in case anyone else is confused.
[1] https://github.com/libuv/libuv/issues/1947