Fish rewrite-it-in Rust progress: 100%

https://aus.social/@zanchey/111760402786767224

cross-posted from: https://discuss.tchncs.de/post/9365035

plan for the now completed port of fish to rust

63 points · 6 comments · view on lemmy.world

6 Comments

technom@programming.dev · 13 pts · 2y (2 replies)

They replaced all CPP code from the shell. But the rewrite isn't complete yet.

sugar_in_your_tea@sh.itjust.works · 1 pts · 2y (1 reply)

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.

technom@programming.dev · 1 pts · 2y

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.

onlinepersona@programming.dev · -3 pts · 2y (2 replies)

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

CC BY-NC-SA 4.0

Zeth0s@lemmy.world · 6 pts · 2y

Honestly this looks like a perfect way to make both python and bash more complex in a single move

technom@programming.dev · 1 pts · 2y

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.