Live data from Hacker News

Rspack: A fast Rust-based web bundler

github.com

1–10 of 11 posts

Re: Rspack: A fast Rust-based web bundler

#2
I 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)...

Re: Rspack: A fast Rust-based web bundler

#3
post #2

I 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)...

> We have already used Rspack in internal projects and achieved a 5-10 times improvement in compilation performance.

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

#4
From 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's successor.

[0] https://www.rspack.dev/guide/introduction.html

Re: Rspack: A fast Rust-based web bundler

#5
post #4

From 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

#7
post #4

From 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?

[deleted]

Re: Rspack: A fast Rust-based web bundler

#9
post #2

I 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)...

This is a big difference though

> 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

#10
post #4

From 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?

Monoio:

> 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

[2] https://github.com/denoland/deno/issues/16232

[3] https://github.com/web-infra-dev

Post reply on HN