The old joke is that there's a new JavaScript framework every month. That's not really true — we've had the same big three for a decade — but there has been an explosion of new bundlers: vite, esbuild, turbopack, farm, swc, rome/biome, rspack, rolldown, mako. And of course plenty of projects are still using rollup and webpack. Some competition is a good thing, and it seems to have led to a drive for performance in al…
Mako – fast, production-grade web bundler based on Rust
141–150 of 215 posts
Re: Mako – fast, production-grade web bundler based on Rust
#142Earlier quoted context omitted.
Intrestingly esbuild isn't included in their benchmarks. Esbuild is the only current build-tool that keeps one sane. The serve-mode is excellent and elegant with no brittle constantly breaking hacks like HMR or file watching. Sadly configuring especially the serve-mode is a bit badly documented, and not usable via CLI flags if one needs plugins.
To each their own. I can't imagine doing UI development without HMR anymore. Makes it so much faster to iterate.
Re: Mako – fast, production-grade web bundler based on Rust
#143Rspack (ByteDance) just shipped 1.0. There's Farm too. This is from Ant Group. Major influx of build tools all built in Rust, made in China. Turbopack is supposed to be coming, as a total rebuild of bundling. Rolldown seems solid, as a Rust roll-up redo.
they need to create new tracks for promotions and KPI, recreating a wheel in rust will achieve just that. It's referred to as technology investment, but it's really speculation.
Re: Mako – fast, production-grade web bundler based on Rust
#144Can I kick it off programmatically inside a Cargo build via build.rs? I tried to go down this road with SWC and ... failed. To be clear: I have JS/HTML artifacts in my repo alongside Rust source. I want to bundle them then ship them inside a produced Rust binary, or at least with it. With one build step using Cargo.
Re: Mako – fast, production-grade web bundler based on Rust
#145Earlier quoted context omitted.
To each their own. I can't imagine doing UI development without HMR anymore. Makes it so much faster to iterate.
That's what Vite is for: all the zip of esbuild plus HMR that works. Usually works anyway... looking at one project where I never have to reload, and another that I'm doing that every ten saves or so. Much sloppier legacy sources in the second tho, Vite really pays off when you write more modern code from the start.
Re: Mako – fast, production-grade web bundler based on Rust
#146Earlier quoted context omitted.
Bundlers also tie clients to developers without them realizing. I work for a webhost and Many people still assume that if they have access to their hosting then they have their "source code". We see often that people migrate a sites after breaking ties with a developer only to find what they have may function, but is unmaintainable.
Sounds like a contractual thing, not like a bundler thing. The client should always include a clause into the contract that the client must hand all work over after closing the partnership.
Re: Mako – fast, production-grade web bundler based on Rust
#147Earlier quoted context omitted.
...or Turbopack or RSpack or Rolldown? Too many choices. I will be sitting this round out until a winner emerges.
according the current situation in bundlers written in JS,there is no "really" winner in my opinion。 webpack or rullup,which one is winner is a very personal thought。 So i think there maybe some similar situation in bundlers written in Rust.
Re: Mako – fast, production-grade web bundler based on Rust
#148Earlier quoted context omitted.
according the current situation in bundlers written in JS,there is no "really" winner in my opinion。 webpack or rullup,which one is winner is a very personal thought。 So i think there maybe some similar situation in bundlers written in Rust.
Are you Japanese? Those period symbols are interesting.
Re: Mako – fast, production-grade web bundler based on Rust
#149So tired of this ecosystem and its ceaseless tide of churn and rewrites and hypechasing.
Re: Mako – fast, production-grade web bundler based on Rust
#150- https://github.com/oxc-project/oxc
It's also what Rolldown (https://rolldown.rs/about) is basing their in-development bundler on.