Hacker News new | ask | show | jobs
by 8lall0 566 days ago
While i can agree, Js is such an inefficient beast that using more efficient languages is IMHO mandatory.

No JS written tool will ever be faster than, for example, esbuild (Go).

1 comments

esbuild is a bit unfair example because Go is really great fit for this kind of job, it does a lot of I/O, it allocates a lot, and then it just dies. evanw even tried to use Rust at first but it was slower than Go version.

IMHO, if JS had struct types, the difference could be much smaller. Dead proposal here: https://github.com/rbuckton/proposal-struct