Live data from Hacker News

Mako – fast, production-grade web bundler based on Rust

makojs.dev

141–150 of 215 posts

Re: Mako – fast, production-grade web bundler based on Rust

#141

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…

You forgot Parcel, which is working on v3 https://parceljs.org/

Re: Mako – fast, production-grade web bundler based on Rust

#142
post #114

Earlier 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.

I don't find hitting Ctrl-R or F5 to be much of a hinderance for iteration. Especially when you don't have to worry whether the system has been left to some incorrect state by HMR.

Re: Mako – fast, production-grade web bundler based on Rust

#143

Rspack (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.

it's maybe a Nash Equilibrium to investing in Rust tools in big tech productivity races.

Re: Mako – fast, production-grade web bundler based on Rust

#144

Can 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.

what about this https://crates.io/crates/rust-embed

Re: Mako – fast, production-grade web bundler based on Rust

#145
post #114

Earlier 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.

I rather hit Ctrl-R on each iteration than worry about whether I've hit the 1/10 buggy state on every change. With esbuild the reload is practically instant.

Re: Mako – fast, production-grade web bundler based on Rust

#146
post #74
post #48

Earlier 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.

Yep, just ask for their source code, don't presume that the hosted work is sufficient.

Re: Mako – fast, production-grade web bundler based on Rust

#147
post #138

Earlier 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.

Are you Japanese? Those period symbols are interesting.

Re: Mako – fast, production-grade web bundler based on Rust

#148
post #138

Earlier 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.

'。' is a Chinese full stop, equivalent to a period in English
Post reply on HN