V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Slurp
V2EX  ›  Rust

Fish Shell 计划迁移到 Rust

  •  2
     
  •   Slurp · 2023-01-31 12:10:27 +08:00 · 2488 次点击
    这是一个创建于 689 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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 条回复    2023-02-22 16:41:51 +08:00
    hronro
        1
    hronro  
       2023-02-07 00:33:44 +08:00
    感觉 Rust 现在渗透的到处都是了。。。

    另外不晓得为什么这么几天过去了,都没人回帖?没人用 Fish ,还是大家都不太鸟 Rust 这门语言?
    SaltyKitkat
        2
    SaltyKitkat  
       2023-02-22 16:41:51 +08:00 via Android
    居然 merge 了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5728 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 06:15 · PVG 14:15 · LAX 22:15 · JFK 01:15
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.