TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why isn't Plan9 popular?

96 点作者 justlearning超过 14 年前
Hello, I don't have an elaborative question. I 'discovered' Plan9 yesterday. It seems like Plan9 was the successor to Unix. So why don't we see it in the mainstream?<p>What seemed intriguing to me was that for the last 8 years with all the linux/unix around, I never came across any references in - books/blogs/articles.<p>link: http://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs

25 条评论

adbge超过 14 年前
"Plan 9 failed simply because it fell short of being a compelling enough improvement on Unix to displace its ancestor. Compared to Plan 9, Unix creaks and clanks and has obvious rust spots, but it gets the job done well enough to hold its position. There is a lesson here for ambitious system architects: the most dangerous enemy of a better solution is an existing codebase that is just good enough."<p>- Eric S. Raymond<p>It's worth noting that Plan 9/Inferno are cited pretty regularly in computer science papers and a number of the ideas of P9 have been absorbed by Linux, such as representing 'everything' with the filesystem. Last I checked, the 2.6.x kernels also support the P9 protocol.<p>"...for the last 8 years" Yeah, well, Plan 9 hasn't had an official release since 2002.
评论 #1732633 未加载
评论 #1743428 未加载
评论 #1732888 未加载
评论 #1732579 未加载
pwpwp超过 14 年前
A lot of Plan 9 innovations have appeared in Linux. One of the outstanding issues are <i>union aka. overlay filesystems</i>, and these are currently being addressed.<p>That said, Plan 9 seems to see continued use in some niches. For example, Plan 9 has been ported to Blue Gene.<p>(What's kinda cute is that the Plan 9 kernel (including TCP and such) has fewer lines of code than the Ruby <i>parser</i>, 8000 vs 10000, IIRC.)
评论 #1732868 未加载
dasht超过 14 年前
(In my opinion) Here's a bunch of reasons why Plan9 isn't popular, and then a reason or two why something like it likely will be before too long:<p>The first obvious answer (also mentioned in other comments) is because "Systems Software Research is Irrelevant". See Rob Pike's paper by that name: <a href="http://herpolhode.com/rob/utah2000.pdf" rel="nofollow">http://herpolhode.com/rob/utah2000.pdf</a><p>To the reasons Pike offers there, I'll add:<p>1. The companies that owned the software had poor strategies for encouraging widespread adoption, if that was even ever their goal.<p>2. The first dot-com boom ca 2000 greatly expanded the IT / programmer workforce and (I claim) significantly dumbed it down. The advantages of a new operating system lack economic impact until a huge number of programmers are trained to use those advantages. We have huge sunk costs invested in maintaining a huge supply of mostly weakly skilled programmers and admins, a sort unlikely to adapt to and adopt a new OS.<p>3. In a related way, the sectors that could in principle drive something like Plan 9 adoption are heavily invested, by now, in massive amounts of bloatware that, dysfunctional as it is, is both critical and non-portable.<p>4. Modern hardware is fast enough that fairly high level programming languages and environments tend to dominate. These often include a "least common denominator" view OS capabilities so that programs port easily among Windows, Linux, Unix, MacOS, etc. This hurts demand for OS features other than the "least common denominator".<p>-----------------<p>Why it might get better:<p>Notice that <i>none</i> of the reasons listed above apply to a market niche like "the OS for Google's clusters" or, say, massive clusters providing an SQL-based RDMS.<p>On clusters like that:<p>1) You don't need a mass audience of buyers for a new OS. One or a few big customers will be plenty.<p>2) You don't care about hordes of cheap, weakly skilled programmers. Paying experts is peanuts compared to your hardware, power, and real estate costs.<p>3) You're not tied to bloatware. You need only run a few things very, very well.<p>4) You don't need to do "least common denominator" programming and, in fact, any new OS feature that can save you some $s per server-hour is potentially a huge win.<p>My betting money is that Pike et al. will produce YANOS (yet another new OS), quite possibly mostly written in the Go programming language, really well suited for huge compute clusters.
评论 #1732924 未加载
评论 #1732834 未加载
jbarham超过 14 年前
IMO Plan 9 didn't gain critical mass because Unix is still "good enough". It's also very difficult to keep current with hardware drivers for a niche OS.<p>However, there are some things that came from Plan 9 that are very much mainstream, the most notable being UTF-8 which was invented by Ken Thompson and first implemented on Plan 9. Linux's clone(2) system call is obviously inspired by Plan 9's rfork.<p>And one could argue that the Go language is a spin-off of Plan 9 as it's substantially implemented by Plan 9 refugees to Google (Ken Thompson, Rob Pike, Russ Cox) and is explicitly descended from other languages that came out of Bell Labs (Newsqueak, Alef, Limbo). Of course whether Go will be a success is an open question, but I think its chances are as good as any other equivalent language.
评论 #1732578 未加载
davidw超过 14 年前
They open sourced it too late for it to get much traction, I think.<p>Also, does it solve any particular problem in such a way that it can't be ignored? Doesn't seem like it to me.
评论 #1732524 未加载
评论 #1733001 未加载
bediger超过 14 年前
It's worth looking at Rob Pike's (one of the Plan 9 inventors) paper, "Systems Software Research is Irrelevant": <a href="http://herpolhode.com/rob/utah2000.pdf" rel="nofollow">http://herpolhode.com/rob/utah2000.pdf</a><p>My own view is that Linux is Good Enough for most people. And that "good enough" beats "better", at least for most values of "better". This is an admission that "path dependence" matters for the operating system market, and that network effects can cause the appearance of market failure.
jbarham超过 14 年前
FWIW, if you're interested in Plan 9 it's also worth checking out Plan 9 from User Space (<a href="http://swtch.com/plan9port/" rel="nofollow">http://swtch.com/plan9port/</a>): "Plan 9 from User Space (aka plan9port) is a port of many Plan 9 programs from their native Plan 9 environment to Unix-like operating systems."
mycroftiv超过 14 年前
I use Plan 9 extensively and intensively, and I believe there are multiple reasons why it is comparatively little-known and little-used. I think the most important reason is the historical conflict over software patents between Rob Pike and Richard Stallman, and the cultural rift that it represented. Plan 9 is now under a pretty decent permissive license, but it still doesn't really function in the manner of a conventional open source operating system project. By the time Plan 9 was under a decent license, the mindshare of FOSS developers and the corporate ecosystem were already completely committed to other projects.<p>Plan 9 is still relevant and interesting and <i>useful</i> for some tasks. It may still be ahead of its time. Plan 9 has had data deduplication for about a decade, years before network data dedupe storage appliances became an important product. The Linux kernel is still struggling to figure out a decent way to implement union directories in filesystems, but unions have been working elegantly in Plan 9 since its early days.
gchpaco超过 14 年前
My theory is this:<p>- too weird - Plan 9 is very difficult to get used to as a user experience. Novel, fascinating, powerful, yes! But also minimal, impenetrable, and very very different from the UI you're used to as a Unix hacker.<p>- nonexistent marketing<p>- too hard to get into initially; I wish they had gone to a public source repository model earlier, although in all fairness the project predates a lot of this.<p>But, it was still an enormous success:<p>- UTF8 came from Plan 9<p>- Linux's clone syscall<p>- /proc<p>- numerous other minor things<p>The main thing I wish I saw more that was in Plan 9 was structured regular expressions. I'd love an awk based around them, or an ssam that didn't basically run sam on the file. The second thing I wish I saw more was Plan 9's per-process filesystem namespaces. Chroot and jail are crude hacks compared.
评论 #1733438 未加载
runjake超过 14 年前
1. It's not marketed -- professionally or at a grassroots level.<p>2. It's a research OS not necessarily meant for every day use.
评论 #1732919 未加载
SecurityMatters超过 14 年前
Howdy, I installed Plan 9 several years ago(close to 10, if I remember correctly). I thought it was interesting, but it had a few problems. 1. It was too hard to install. I figured it out, but it was difficult enough that I thought I would not be able to recommend it to many others, unless they were fairly advanced. 2. The supported hardware list was too small. Mostly, this was a problem with supported nics. On a system like Plan9, a system without a good NIC is pretty useless. 3. The community of users was too small. I did not find any other local users. I found a small community of online users, but they only seemed interested in using Plan9 to break into systems and that did not interest me. I should probably try it again, since many of these things could have improved. I have also used Inferno a bit on a prototype ATT phone and I would like to program that a bit. Linux ended up having most of what I wanted Plan9 for and that is probably why I have not tried it for so long.
dasht超过 14 年前
I earlier posted reasons why (IMO) Plan9 "failed" but will likely (in a new form) succeed on big compute clusters.<p>The other possible place for a big breakthrough is mobile. For example, if all of your "apps" are in Java and those apps hardly ever touch traditional unix system calls, it is easy to knock a Linux or Windows OS out from the bottom of the stack.
leif超过 14 年前
Same reason the Hurd never materialized. Linux was good enough that nobody cared to put in the massive effort required to make the slightly better solution industry-strength. It's something like the death by a thousand cuts, only in this case, the thousand cuts are unsupported hardware and silly programs that don't have ports or package maintainers, but that people still want anyway. BSD gets away with being the unpopular but probably better alternative to Linux by a massive effort to port all linux software to it, and a great linux compatibility layer for things that aren't ported.
评论 #1733776 未加载
Paulomus超过 14 年前
I think it is significant that both Unix itself and Linux were category killers. Unix succeeded because people kept going "Wow, there's nothing like this!" and writing in to get it, copying it passing it on to other people. When Linux took off, there was no Free-ly available Unix-like OS (at that time). Linux quickly gathered a critical mass of users who saw it as something like the answer to their prayers. I guess the strengths of Plan9 were not such as to create a new category for itself, and its flaws made it an unsuccessful competitor against existing Unix-like systems.
CyberFonic超过 14 年前
I've worked with Plan9 and Inferno. I think they both failed for two reasons:<p>1. lack of device drivers for commonly found hardware at the time.<p>2. Ugly looking graphics and desktops and difficult (relative to what was widely used at the time) to use as well.<p>IBM's use of Plan9 with BlueGene uses the server side benefits so they need only a small number of custom device drivers and the GUI is not used at all.
tomotomo超过 14 年前
Similar situation to why weren't other featureful alternative OSs more popular? Like BeOS? Imagine how different today's world would be if Apple had bought BeOS instead of NeXTSTEP (which included Steve Jobs)? Often it's some large corporation's decisions that dictate what technology gets adopted, what fails.
评论 #1733254 未加载
Aegean超过 14 年前
It's because Unix has become very popular and it is good enough for mainstream use despite its flaws. Plan 9 brings certain design improvements but they don't actually justify a need for replacement.<p>It's actually not that surprising since good design on its own is never a sufficient criteria for something to become mainstream.
onewland超过 14 年前
I use the wmii window manager which is based off some Plan9 principles. Surely you wouldn't bring it home to grandma, but for fast efficient use of screen space with a keyboard I think it's hard to beat.
Daniel42超过 14 年前
Glenda is super cute but did you try to use Plan9? I give it a small try last year and well... GNU/Linux is mainstream, FreeBSD is a really good derivative of Unix too, OpenBSD is great when we want to have a secure OS... NetBSD would probably run on my toaster... But Plan9? It have a cute mascot.<p>Oh and I really like its name and the "Plan 9 from User Space" thing, especially after having seen the fabulous movie! But I think of it only as a cool thing to know, never seriously think about using it in place of a GNU/Linux or a *BSD. (same thing for Open Solaris too in fact)
ww520超过 14 年前
One killer setup for Plan9 would be to package it up as a VM and distribute it. May be Amazon can pre-create some Plan9 EC2 images.
rue超过 14 年前
Are you running it?
rcrowley超过 14 年前
Because worse is better.
评论 #1732777 未加载
konad超过 14 年前
I've been a Plan9 user/dev since 2000. Have been to two of the IWP9 conferences - sadly I won't be going to Seattle for the 5th unless I score some big cash in the next few weeks - <a href="http://iwp9.quanstro.net/" rel="nofollow">http://iwp9.quanstro.net/</a><p>* Licensing - Plan9 wasn't open when open was the in thing.<p>* No web browser - just as the web became a big thing, no web browser is a deathtrap.<p>* The gap is too great a leap - until the recent LinuxEMU almost <i>NONE</i> of your fave apps were available - unless you <i>really</i> like cmd line tools (I do :)<p>* Hard to justify in your organisation - when you're one of only 50 people in the world that know how to use an OS, making it part of your infrastructure is a huge risk.<p>That said, to suggest it is a failure is erroneous. We have at least one successful company using Plan9 in their hardware - Coraid. They have the commitment, income and a few of those 50 people to make it work for them. IBM also use it on Blue Gene and other super computers, as do Sandia National Labs, LANL and others around the world. It was also used at the Sydney Olympics to control the stadium lighting and Lucent use it in their cell phone masts in Real Time mode.<p>Come and chat to people in irc://irc.freenode.org/#plan9<p>Oh - there's also a fantastic port of many of the tools into Linux / BSD. <a href="http://swtch.com/plan9port" rel="nofollow">http://swtch.com/plan9port</a> I use them every day - Venti is particularly useful
评论 #1733557 未加载
评论 #1735564 未加载
_3ex7超过 14 年前
From the 9fans mailing list a while back, someone asked what the plan9 people at Google use:<p><a href="http://9fans.net/archive/2010/02/344" rel="nofollow">http://9fans.net/archive/2010/02/344</a><p>and<p><a href="http://9fans.net/archive/2010/02/366" rel="nofollow">http://9fans.net/archive/2010/02/366</a>
sswam超过 14 年前
I used plan 9 for a while, and I really like it; but when I was looking to use a network filesystem I tried a 9p remote mount between two Linux servers over the internet. I was disappointed to find that it was much much slower and generally performed worse than sshfs, perhaps due to lack of caching and readahead. Perhaps there is some way to use 9fs more effectively with a caching / readahead layer, I guess it would be simple enough to implement such an intermediate server in plan 9.