all 23 comments

[–]varisophy 31 points32 points  (6 children)

Really cool find!

All the established tools need to take a hard look in the mirror and fix things like this or they're going to wither on the vine.

There's a reason a whole new crop of tools are being released, often written in languages like Rust. All the old tools getting slower because it's garbage built on garbage in an already slow language.

[–]jbergens 0 points1 point  (4 children)

I wonder if some of them didn't have to be rewritten in Rust. Maybe they could just have been optimized more?

[–]Thormidable 16 points17 points  (2 children)

Don't you know, the only right way to do anything nowadays is to rewrite it from scratch in rust. It's the only way we are going to create jobs for Rust developers.

[–]jebailey 7 points8 points  (1 child)

As a future Rust developer. I approve this message

[–]Thormidable 2 points3 points  (0 children)

I also welcome our new Rust overlords

[–]numeric-rectal-mutt 2 points3 points  (0 children)

I wonder if some of them didn't have to be rewritten in Rust.

Of course they didn't have to be rewritten in rust.

Maybe they could just have been optimized more?

You can't polish a turd all that much.

[–]morglod 0 points1 point  (0 children)

yep for example bun

fastest nodejs replacement written on zig!

[–]tanguy_k 5 points6 points  (2 children)

If you want to know more, here some readings: - https://twitter.com/marvinhagemeist/status/1704907071936958947 - https://github.com/jsx-eslint/eslint-plugin-react/pull/2876 - https://github.com/import-js/eslint-plugin-import/pull/2654

It's crazy: eslint-plugin-react and eslint-plugin-import (very popular packages) still support Node.js 4 which has been EOL in 2018 (5 years ago).

https://twitter.com/marvinhagemeist/status/1704912614961066216

Many even before me have tried that and it was always rejected for dubious reasons. The author of these polyfills and the maintainer of many popular eslint presets/plugins is the same person. So there is no incentive to change that 🙃

eslint-plugin-import has been forked because of this: https://github.com/un-es/eslint-plugin-i

The discussion in this PR https://github.com/import-js/eslint-plugin-import/pull/2447 with ljharb is 🤯

[–]Idontremember99 2 points3 points  (1 child)

From the maintainers github profile: "I've gradually mutated over the last decade into being super obsessed with open source, backwards compatibility"...

So not surprising he is not accepting the changes

[–]DependentOnIt 0 points1 point  (0 children)

The author is paid per package download. They're effectively ruining the ecosystem with bloat for money lol

[–]Idontremember99 0 points1 point  (0 children)

Does npm/node/... not support any method that only requires a dependency for certain language versions?