guonaihong
V2EX  ›  2019

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

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

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

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

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