Hacker News new | past | comments | ask | show | jobs | submit login

Rollup is slow as hell. I’m working with a project where the builds take minutes on an M3 Pro.

I’d like to switch to something like esbuild but it uses a lot of features like aliases so would take some work to translate and the lib is being moved away from anyway. If I can drop something in that speeds it up I’m all for it




The vite authors are working on a roll up rewrite in rust to solve this. So instead of using farm, I'd just wait.


Is this rolldown or something else?

https://github.com/rolldown/rolldown


Why not try farm though if it means faster builds now?


I compile a few hundred thousand lines of c++ in “minutes”… it’s sad to see the state of the ecosystem be actually slower than languages that have a reputation for being slow.


Ok, but C++ is a compiled language. Even though compilation speed doesn’t need to be that slow, at least you’re getting something out of it.

JS is interpreted and JITed. The whole point of using it is having a very fast feedback loop.

The tradeoff should be: faster at dev, slower at runtime. There’s something fundamentally wrong if that premise is broken.

Actually it’s insane that we need build steps with any noticeable delay during dev time at all.


Indeed.


you can try use farm,If you are using a relatively simple rollup plugin, there should be no problem. The farm is compatible with rollup plugins.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: