zlacker

[parent] [thread] 2 comments
1. sgarla+(OP)[view] [source] 2025-02-17 19:07:18
mise (née rtx), by the same author, could confidently claim this because the tool it replaced – asdf – is written in bash. Bash is perfectly capable for a great many things, but unless you’re getting fairly deep into the weeds of what it can do (e.g. eschewing external calls to sed et al. whenever possible in favor of parameter substitution), you’ll tank performance from sub-shell spawn times. mise was objectively and obviously faster out of the box, though nearly any language that included basic text processing functionality would’ve been acceptably fast.

In general though, I agree that the blanket statement of “X is good because it’s language Y” is absurd, though I stubbornly cling to the opposite case for NodeJS, because I despise the idea of a frontend language running anything but a browser window. I have no objective defense.

replies(1): >>dlisbo+e4
2. dlisbo+e4[view] [source] 2025-02-17 19:33:11
>>sgarla+(OP)
`asdf` has now been rewritten in Go for anyone interested, so choosing mise over it due to performance is less of a concern now.
replies(1): >>sgarla+MNb
◧◩
3. sgarla+MNb[view] [source] [discussion] 2025-02-21 14:10:51
>>dlisbo+e4
Oh, good to know! Kinda sad that they gave up on bash; I wonder how they’ll differentiate themselves now.

I had submitted a PoC patch for the bash version that greatly sped it up, but there were a couple of tests I was struggling to get to pass, and I ran out of free time.

[go to top]