Earlier quoted context omitted.
Speak for yourself, but I would not want to be beholden to AI for every trivial shell one-liner. "Sorry boss, ChatGPT is down, I can't count how many *.txt files are in this directory. See you tomorrow!" I'll take the better syntax, thanks.
Heaven forbid you read a man page. Even though Bash is weird, it's fully documented.
Fish 4
51–60 of 113 posts
Re: Fish 4
#52Earlier quoted context omitted.
[flagged]
Why would you care what it's written in at all, unless you plan to work on it yourself?
For example, most Rust projects use clap which provides really nice command line help menus and also have relatively good performance in general.
Re: Fish 4
#53The most interesting thing about Fish 4.0.0 for most people will be that it is now written in Rust, which they talk about here [1]. Looking forward to testing it out and seeing if there are any noticeable differences. [1] https://github.com/fish-shell/fish-shell/pull/9512
I'll be curious if it's faster.
Re: Fish 4
#54Re: Fish 4
#55The most interesting thing about Fish 4.0.0 for most people will be that it is now written in Rust, which they talk about here [1]. Looking forward to testing it out and seeing if there are any noticeable differences. [1] https://github.com/fish-shell/fish-shell/pull/9512
[flagged]
Re: Fish 4
#56Re: Fish 4
#57I recently built my own shell to better understand its complexity and how it works under the hood. I also implemented redirections and partial tab completion. While I get that writing a shell isn’t the easiest task, I still don’t fully understand why there are so many different ones. I’ve been using the default shell on macOS, and so far, it works just fine.
Re: Fish 4
#58As a zsh user, I've been meaning to give fish a try. I keep adding plugins to zsh to make it act like fish (like command autocomplete) that I might as well try and/or switch to it.
Re: Fish 4
#59Let's guess which one compiles slower
- fish 4.0.0 / Rust: (cargo build): 16 seconds
- fish 4.0.0 / Rust: (cargo build --release): 37 seconds
- fish 3.7.1 / C++: cmake ..: 10 seconds + make -j8: 13 seconds = 23 seconds
So yeah, C++ was slightly faster in release mode, but slower in non-release. I'd say this is yet another win for Rust, frankly.
Re: Fish 4
#60Earlier quoted context omitted.
What do you dislike about it?
the only vcs it supports is git
It’s true that dependencies from a repository only supports git right now.
Part of the issue there is just like, the VCS integration wasn’t don’t in a principled way (it happens!) and so it’s not simple. See here for more: https://github.com/rust-lang/cargo/issues/12102