Performance Decline Due to Rust Rewrite of Fish Shell

Fish is a command line shell for Linux and macOS, named as an abbreviation for “the friendly interactive shell”. Its main features are ease of use, powerful functionality, intelligence, and user-friendliness. Many features that other shells require configuration for are provided by default in fish, without any configuration needed.

Performance Decline Due to Rust Rewrite of Fish Shell

Project maintainer Fabian Boehm responded today on GitHub regarding the progress of rewriting Fish Shell in Rust, stating that it is nearly complete.

According to the developers, they have completed most of the porting work from C++ to Rust, but there are still some remaining components that need translation. Currently, they are working on strongly coupled components related to the input system, such as readers, screen handling, input, and paginators. Once these components are translated, the remaining work will involve some scattered parts and removing C++ dependencies from the build system.

The developers indicated that this is not a project suitable for casual contributions as there is still a lot of work to be done.

Additionally, the developers addressed some questions and misconceptions regarding the porting process. They stated that they will not be removing all C++ code and have no plans to port to the Windows platform. They also mentioned that they will not change the name or mascot of Fish Shell, and regarding the performance of the final port, they noted that early results are encouraging, but it may be about 20% slower than the current version in some cases.

Finally, they mentioned that even after the initial porting work is completed, there will still be a lot of work to do on the project.

Source:https://github.com/fish-shell/fish-shell/discussions/10123

Previous Recommendations

Google’s 18-year veteran employee accuses CEO of lacking vision

As an open-source project maintainer, how far can you tolerate such responses? A programmer embezzled over 2.6 million yuan from ETC balance in a yearHere you can find the latest open-source news, software updates, and technical insights.

Click here ↓↓↓ Remember to follow✔ and star⭐!

Leave a Comment