Thoughts about new fancy JavaScript tools in Rust? - eviltoast

I’ve heard many of them. For example: rolldown, rspack, swc, oxc, esbuild, parcel, vite etc.

I can currently use JS projects without these tools. What extra do they add? Why should I use them instead of simply using tsc?

Though I must admit I like vite simplicity in front-end.

  • not_woody_shaw@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 months ago

    esbuild is written in Go, not Rust. But the reason all these things exist is speed. How long do you want to wait to find out if your build succeeded? 5 minutes or 5 seconds?

  • CaptDust@sh.itjust.works
    link
    fedilink
    arrow-up
    5
    ·
    4 months ago

    Most of what you listed are bundlers, and they exist because they go faster. You probably won’t gain much in a small project, but when tsc starts taking 5 to 10 minutes to build - that’s a good time to shop around.