V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
cmos
V2EX  ›  问与答

为什么 Node.js 这个"垃圾"统治了 LLM 的命令行?

  •  
  •   cmos · Sep 11, 2025 · 1278 views
    This topic created in 240 days ago, the information mentioned may be changed or developed.

    最近涌现的一大批 AI/LLM 命令行工具,比如 google/gemini-cli ,anthropic/claude-code ,tencent/codebuddy ,清一色都是 Node.js 生态.

    CLI coding 算 IO 密集型?按理来说,这种场景应该是 Golang 呀,跨平台、无依赖、并发高,怎么看都是选择 Golang 啊。

    我怎么觉得这些 cli 工具都是前端来客串写出来的?

    • 生态:进度条、彩色输出、交互式,在 Node.js 生态里面什么包/依赖都能找到
    • 异步 IO:虽然没有那么强,但也足够用,尤其是异步模型处理流式输出和并发请求
    • 公司不想招人,直接让活最少的前端写?
    Chemist
        1
    Chemist  
       Sep 11, 2025 via iPhone
    因为跑在本地的东西最不在乎的就是“性能”
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3629 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 10:32 · PVG 18:32 · LAX 03:32 · JFK 06:32
    ♥ Do have faith in what you're doing.