Hacker News new | ask | show | jobs
by worksonmine 883 days ago
It feels like the people behind bun are trying to differentiate from node so much that they sometimes don't stop to ask why.

I'm sure there's a use-case somewhere, but if I'm using js I will just use a regex instead of reaching for grep. If I want the shell I'll use the shell.

3 comments

The most common usecase is probably “I have `rm` in the scripts section of package.json, and it doesn’t work on windows.”
> Bun provides a limited, experimental native build for Windows.

> # WARNING: No stability is guaranteed on the experimental Windows builds

Now your scripts simply will randomly break on Windows and you won't even know why!

I don't think that's permanent. Eventually they'll have a stable release on windows
I'd personally rather write my long shell scripts in js for my js-based project. And I wouldn't bring in grep to run a regex either but I'd use it to run a myriad of other tools that aren't implemented in js.
It does feel like Bun is trying to do a lot. And when the company depends on VC funding I think it’s fair to question whether you want to rely on them for a core project functionality.