this post was submitted on 16 Jan 2024
66 points (100.0% liked)

Rust

5778 readers
35 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
top 6 comments
sorted by: hot top controversial new old
[–] technom@programming.dev 13 points 8 months ago (1 children)

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

[–] sugar_in_your_tea@sh.itjust.works 1 points 8 months ago* (last edited 8 months ago) (1 children)

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 points 8 months ago* (last edited 8 months ago)

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 points 8 months ago* (last edited 8 months ago) (2 children)

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 points 8 months ago

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

[–] technom@programming.dev 1 points 8 months ago

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.