FreeBSD 与 GNU Linux 与 OpenSolaris 的主要优缺点是什么?

发布于 2024-08-10 23:50:50 字数 76 浏览 4 评论 0原文

FreeBSD 与 GNU Linux 与 OpenSolaris 的主要优缺点是什么?

哪个是最好的编程/开发操作系统?

What are some of the major pro/con of FreeBSD vs GNU Linux vs OpenSolaris?

Which is the best operating system to program/develop against?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

傲世九天 2024-08-17 23:50:50

简短的回答:FreeBSD ;-) - 更好的文档,更稳定。缺点是,与 GNU/Linux 相比,消费者硬件支持较少。

当您问哪个最适合开发时,不清楚您是指编写内核模块还是最终用户 GUI 应用程序,还是介于两者之间。

除非你写低级的东西,否则它们之间没有区别,至少对于 FreeBSD - GNU/Linux 来说是这样。语言、工具包、IDE 等均可用于两者。

Short answer: FreeBSD ;-) - better documentation, more stable. On the downside, less consumer hardware support compared to GNU/Linux.

When you ask which is best to develop for, it's unclear if you mean writing kernel modules or end-user GUI apps, or something in between.

Unless your writing low-level stuff, there's no difference between them, at least for FreeBSD - GNU/Linux. Languages, toolkits, IDEs, etc. are available for both.

多情癖 2024-08-17 23:50:50

这是一个非常好的(虽然有点过时)关于 FreeBSD 与 Linux 与 Windows 的文章(抱歉,没有 OpenSolaris)。值得一读。在从我工作过的 ISP 的管理员那里了解到 FreeBSD 后,我已经成为 FreeBSD 的粉丝超过 15 年了。 FreeBSD 以其稳定性而闻名,拥有大量文档、庞大的端口集合,甚至允许运行 Linux 二进制文件。我使用 FreeBSD 为我的最新项目构建了三台服务器,这让我非常高兴。

Here is a very good (albeit a bit outdated) article about FreeBSD vs Linux vs Windows (sorry, no OpenSolaris). It's worth reading. I've been a fan of FreeBSD for over 15 years, after learning about it from admins that were running an ISP I worked at. FreeBSD is legendary for its stability, has lots of documentation, huge ports collection, and it even allows running Linux binaries. I built three servers for my latest project using FreeBSD and couldn't be happier.

千紇 2024-08-17 23:50:50

“最好的”是您的潜在客户正在运行什么平台、市场支持什么,这最终意味着资金在哪里......

现在,如果您编写一个符合 POSIX 标准的应用程序,那么将其移植到这些操作系统中的任何一个应该是微不足道的(包括 OSX)

您还可以分离出与平台无关的代码,以便将表示层与业务层分开,以进一步简化可移植性,并使应用程序在其运行的平台上具有本机外观。

The "best one" is what platform your prospective clients are running, what the market supports, which ultimately means where the money is....

Now, if you write a POSIX compliant application then porting it to either of these OS's should be trivial (including OSX)

You can also separate out the platform agnostic code so that the presentation layer is separate from the business layer to further ease portability and give the application a native look on the platform it is running.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文