3 ms·
I think slowly Node is shaping up to offer strong competition to Bun.js, Deno, etc. such that there is little reason to switch. The mutual competition is good f
by prmph 1y ago
I think slowly Node is shaping up to offer strong competition to Bun.js, Deno, etc. such that there is little reason to switch. The mutual competition is good for the continued development of JS runtimes
- gear54rus 1y agoSlowly, yes, definitely welcome changes. I'm still missing Bun's `$` shell functions though. It's very convenient to use JS as a scripting language and don't really want to run 2 runtimes on my server.
- adriancooney 1y agoYou might find your answer with `zx`: https://google.github.io/zx/ https://google.github.io/zx/
- denysonique 1y agoOr YavaScript https://github.com/suchipi/yavascript https://github.com/suchipi/yavascript
- turadg 1y agoExeca package works nicely for that. Zx has a good DX but is YA runtime. https://github.com/sindresorhus/execa/blob/main/docs/bash.md https://github.com/sindresorhus/execa/blob/main/docs/bash.md
- deleted 1y ago[deleted]
- HNMocksUsers 1y agoStarting a new project, I went with Deno after some research. The NPM ecosystem looked like a mess; and if Node's creator considers Deno the future and says it addresses design mistakes in Node, I saw no reason to doubt him.
- nedt 1y agoI was really trying to use deno but it still is not there yet. Node might not be the cool kid, but it works and if you get stuck the whole internet is here to help (or at least stack overflow). We once reported an issue and it got fixed really quickly. But then we had troubles connecting via TLS (mysql on google cloud platform) and after a long time debugging found out the issue is actually not in deno, but in RustTLS, which is used by deno. Even a known issue in RustTLS - still hard to find out if you don't already know what you are searching for. It was then quicker to switch to nodejs with a TS runner.
- DiddlyWinks 1y agoInteresting. Do you think Deno has made questionable choices in the components it uses?
- nedt 1y agoWell I don't think there is much choice. They write the core in rust. Plus openssl is a bit old and bloated. So it's not wrong to pick RustTLS if you want to be hip.
- DiddlyWinks 1y agoHa, well, by all means I must be hip!