this post was submitted on 02 Aug 2024
11 points (100.0% liked)

JavaScript

2000 readers
1 users here now

founded 1 year ago
MODERATORS
 

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.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 3 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?

[–] [email protected] 5 points 3 months ago (1 children)

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.

[–] FizzyOrange 3 points 3 months ago

5 minutes? Jesus I wouldn't wait that long when there's a simple way to make your build 10x faster.

[–] [email protected] 5 points 3 months ago

They’re fast.