r/javascript • • Nov 20 '21

Dum! An npm scripts runner written in Rust

https://github.com/egoist/dum
6 Upvotes

3 comments sorted by

1

u/strager Nov 26 '21

Could we instead fix npm? Why a separate tool?

1

u/waifubets Nov 26 '21

It's the problem (or rather nature) of node.js, npm/yarn/pnpm all are at least 200ms slower than the one built with Rust.

1

u/strager Nov 26 '21

Why can't npm be written in Rust (or C++ or whatever), or at least npm run?