David Adam (@zanchey@aus.social)
https://aus.social/@zanchey/111760402786767224
#fishshell rewrite-it-in #rust progress, 2024-01-15 87029 rust lines added 76776 / 76776 C++ lines removed ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100% -- So, we're done? Well, yes and no.
https://aus.social/@zanchey/111760402786767224
#fishshell rewrite-it-in #rust progress, 2024-01-15 87029 rust lines added 76776 / 76776 C++ lines removed ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100% -- So, we're done? Well, yes and no.
Looks like the only thing left is the rest runner, and it's probably not happening anytime soon since it's a ton of syscalls and Rust doesn't really add any advantages there imo.
The impression that I got is that while there is nothing more to port in the shell itself, the performance and concurrency goals haven't been fully realized yet. The new Rust code needs a bit more tuning before it can replace the old shell.
fish
was a great shell when I tried it, but it's unfortunate that so much is written in bash. The most interesting shell by far was xonsh
though a python powered shell
Honestly this looks like a perfect way to make both python and bash more complex in a single move
Fish's main attraction was never its scripting language - it was its UI. You can run bash scripts from fish (using bash of course), while still enjoying its bit more modern UI. Bash was never a challenge to fish. Nushell, on the other hand, is a different case.