How does this compare to the recently released Bun Shell?
ZX – A tool for writing better scripts
31–40 of 143 posts
Re: ZX – A tool for writing better scripts
#32Re: ZX – A tool for writing better scripts
#33This looks really cool, actually, and I'm surprised I haven't heard of this before. My incorrect gut intuition is that JavaScript devs usually don't do very much in depth terminal level command work, but that's of course false on a Bayesian level. There are far more JavaScript developers in the world than there are even Python developers, to say nothing of the long tail of even less popular languages. If 30% of JS de…
> There are far more JavaScript developers in the world than there are even Python developers I don’t think that’s true. Anecdotally when I was interviewing at a recruiting company (and we let candidates pick any language to be assessed in), Python was by far the most popular choice, chosen by about 60% of candidates or something like that. Java and JavaScript came after, followed by a long tail of languages like C#…
That's a lot of people.
Re: ZX – A tool for writing better scripts
#34Re: ZX – A tool for writing better scripts
#35Re: ZX – A tool for writing better scripts
#36How does this compare to the recently released Bun Shell?
zx uses the system-provided shell, which means it isn't cross-platform
For the commands Bun Shell implements as builtins, they typically run something like 10x - 20x faster than in zx on mac/linux because spawning processes is expensive (even more expensive on Windows)
Re: ZX – A tool for writing better scripts
#37"[For writing complex scripts] JavaScript is a perfect choice". Not sold on that. Why should I choose it over Python, PHP or others?
Re: ZX – A tool for writing better scripts
#38"[For writing complex scripts] JavaScript is a perfect choice". Not sold on that. Why should I choose it over Python, PHP or others?
scripts are supposed to be small simple programs that run in sequence and terminate. I shouldn't need to deal with concurrency primitives at all in that particular situation.