工具与资源github.com
Gow:轻量级的 Cygwin 替代品
Gow – The lightweight alternative to Cygwin
2011 — 2014,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
Gow 是 Windows 上的一套轻量级 Unix 工具集合,常被拿来与 Cygwin 比较。它更像打包好的原生/MSYS 二进制工具,而不是完整的 POSIX 兼容层。评论普遍认为它适合简单命令,但在管道、glob 等复杂场景下不如 Cygwin 可靠。
为什么经久不衰:它代表了在 Windows 上使用 Unix 命令的轻量方案,也记录了“完整 POSIX 层 vs 工具包”这一经典争论,今天仍有参考价值。
HN 评论精选
Gow 只是工具集合而非 POSIX 层,且缺少源码/构建脚本,质量难比 ezwinports。
从外观上看,这绝对算不上 Cygwin 的替代品,因为后者实现了完整的 POSIX 层。相反,这似乎是一组原生和 MSYS 二进制文件;这本身没问题,但我有点怀疑它们能否达到 ezwinports 的质量,后者仍是自由软件原生 Windows 二进制的最佳来源。此外,他们不提供二进制文件的源码和构建脚本。
deng查看英文原文
From the looks of it this is definitely not an alternative to Cygwin, because the latter implements a complete POSIX layer. Instead, this seems to be a collection of native and MSYS binaries, which is fine and all, but I kinda doubt that they have the quality of ezwinports, which is still the best address for native Windows binaries of free software. Also, they don't provide the source and the build scripts for their binaries.
实际使用中 Gow 连基本管道和 glob 处理都不可靠。
不久前我在工作的新 Windows 电脑上试了 Gow。我的体验是,除了最琐碎的用法,它完全不能用。基本的东西都不工作,比如 'ls -t|head'(据回忆是 SIGPIPE 实现损坏/缺失),以及 '(g)find -iname '*.txt''(我死活没法阻止它展开 glob)。几天后我就放弃,回到 Cygwin。
xfGnB6P查看英文原文
I gave Gow a shot when I got a new Windows PC at work a while back. In my experience it is completely broken for anything but the most trivial use cases. Basic things didn't work, like "ls -t|head" (broken/missing SIGPIPE implementation IIRC), and "(g)find -iname '*.txt'" (I could not for the life of me stop it from expanding the glob). I gave up after a couple days and went back to cygwin.
Cygwin 的核心价值是 POSIX 环境,Gow 不具备。
这看起来并不真的是 Cygwin 的替代品。Cygwin 的价值在于它提供 POSIX 环境。我为正常系统写程序,然后 Cygwin 让我能比较容易地把它们跑在 Windows 上。
Sir_Cmpwn查看英文原文
This doesn't really seem like an alternative to Cygwin. Cygwin is valuable because it provies a POSIX environment. I write my programs for sane systems and then Cygwin allows me to get them running on Windows fairly easily.
质疑重复造轮子,认为会造成生态碎片化。
我理解为什么有人不喜欢用 Cygwin,但为什么要新开一个项目?MSYS/mingw-get 是活跃项目,提供了很好的基础。为什么不帮忙改进它?Windows 上的 Unix 工具已经够小众了,这样选择只会导致碎片化,而不是竞争。
markokocic查看英文原文
I understand why someone wouldn't like to use cygwin, but why new project? MSYS/mingw-get are active projects that provide a good base to build upon. Why not helping improve it? Unix tools on Windows is niche enough so that choice only leads to fragmentation, not competition.
历次讨论
同类还值得读
直接在浏览器中启动 Linux 内核
Boot a linux kernel right inside your browser.
Fabrice Bellard 的 JSLinux 页面,用 JavaScript 在浏览器里启动一个 Linux 内核,并提供一个可交互的终端环境。
工具与资源上首页 5 次 · 2011–2025bellard.orgHacker News 未公开功能与行为清单(2018)
A List of Hacker News's Undocumented Features and Behaviors (2018)
数据科学家 Max Woolf 整理的 Hacker News 未公开功能与行为清单,涵盖投票机制、排名算法、账号惩罚等社区运作细节。
工具与资源上首页 5 次 · 2019–2025github.comMapSCII:在终端中用盲文和 ASCII 渲染地图
MapSCII – Braille and ASCII map renderer for the console
MapSCII 是一个在命令行终端里渲染地图的开源工具,用盲文字符和 ASCII 字符把地理数据画成可交互浏览的字符地图。
工具与资源上首页 5 次 · 2017–2025github.com顶尖大学的免费在线课程
Free Online Courses from Top Universities
Open Culture 整理的一份免费在线课程合集,汇集了全球顶尖大学(如 MIT、斯坦福、耶鲁等)向公众开放的网络课程资源,涵盖音频、视频等多种形式。
工具与资源上首页 5 次 · 2010–2022openculture.com淘气字符串:容易引发用户输入问题的字符串清单
Naughty Strings: A list of strings likely to cause issues as user-input data
一个 GitHub 仓库,收录了大量容易让程序出问题的用户输入字符串,如特殊字符、emoji、SQL 注入片段、系统命令等,供开发者用于测试输入处理逻辑。
工具与资源上首页 4 次 · 2015–2020github.com