Slurp
V2EX  ›  Rust

Fish Shell 计划迁移到 Rust

  •  2
     
  •   Slurp · Jan 31, 2023 · 3595 views
    This topic created in 1223 days ago, the information mentioned may be changed or developed.

    fish-riir-plan.md (archive.org)

    fish-shell#9512 - Rewrite it in Rust

    Why Port

    • Gain access to more contributors and enable easier contributions. C++ is becoming a legacy language.
    • Free us from the annoyances of C++/CMake, and old toolchains.
    • Ensure fish continues to be perceived as modern and relevant.
    • Unlock concurrent mode (see below).

    Why Rust

    • Rust is a systems programming language with broad platform support, a large community, and a relatively high probability of still being relevant in a decade.
    • Rust has a unique strength in its thread safety features, which is the missing piece to enable concurrent mode - see below.
    • Other languages considered:
      • Java, Python and the scripting family are ruled out for startup latency and memory usage reasons.
      • Go would be an awkward fit. fork is quite the problem in Go.
      • Other system languages (D, Nim, Zig...) are too niche: fewer contributors, higher risk of the language becoming irrelevant.
    2 replies    2023-02-22 16:41:51 +08:00
    hronro
        1
    hronro  
       Feb 7, 2023
    感觉 Rust 现在渗透的到处都是了。。。

    另外不晓得为什么这么几天过去了,都没人回帖?没人用 Fish ,还是大家都不太鸟 Rust 这门语言?
    SaltyKitkat
        2
    SaltyKitkat  
       Feb 22, 2023 via Android
    居然 merge 了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2864 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 62ms · UTC 06:06 · PVG 14:06 · LAX 23:06 · JFK 02:06
    ♥ Do have faith in what you're doing.