guonaihong
V2EX  ›  2019

正在用 golang 重写具有 29 年历史 coreutils

  •  
  •   guonaihong · Apr 10, 2019 · 2590 views
    This topic created in 2591 days ago, the information mentioned may be changed or developed.

    coreutils 就是包含 linux 常见命令的 ls cat touch 的软件包(大约一共 80+个命令),目前已经实现了 18+个。

    项目地址:https://github.com/guonaihong/coreutils

    agagega
        1
    agagega  
       Apr 10, 2019 via iPhone
    现在不是流行增强版吗,像 ripgrep 这样的,好像 rust 更加适合一点
    guonaihong
        2
    guonaihong  
    OP
       Apr 11, 2019
    @agagega 增强版本要有自己的想法,一开始也考虑过用 rust,只是同样的功能 go 可能只要 2 天实现,rust 要写一个星期。用 go 的话,今年可以撸完 coreutils。有时间还可以玩下内存数据库或者 http proxy。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2904 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 78ms · UTC 12:10 · PVG 20:10 · LAX 05:10 · JFK 08:10
    ♥ Do have faith in what you're doing.