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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Will we be using Unix derived OS's for the next 50 years?

11 点作者 vsbuffalo超过 11 年前

6 条评论

eggestad超过 11 年前
Depend is you&#x27;re talking about the user level part or kernel level part.<p>Android is a &quot;new&quot; OS on the user level, even if you have a unix kernel. And I&#x27;d claim that android&#x27;s userlevel stuff is too different from unix that you can&#x27;t claim it&#x27;s unix derived.<p>I&#x27;m pretty sure I&#x27;ll be doing my development in eclipse on an android based workstation in a not too distant future.<p>For a new type of kernel. there has to be a real upside to switch. For the world to really take the time to make the effort to use something different, i.e. a new kernel based on different principles, you really need to have one of the following to happen:<p>* you need to come up with something that a kernel can do, that is a MUST HAVE and can&#x27;t be implemented in a unix kernel. (in 40 years this was not happened)<p>* You get better performance. (again hard to see how you&#x27;re effectivly compete with the sheer amount of engineering effort done in something like linux)<p>* You can get by with a MUCH simpler kernel. (As linux is a modular design which is stripable, it&#x27;s hard to see how you can compete)<p>* we&#x27;re going to start building hardware on a different HW architecture that demand a different programming paradigm.<p>The last part is not as far-fetched as you might think. There is a growing gap between how we programmer perceive how machines work (and a unix kernel do provide a user space process with a virtual machine of the type programmer expect) and how HW now actually work. But as a lot of people has tried to come up with something else, and failed, I&#x27;m not holding my breath,<p>TL;DR There is no foreseeable benefit to users in a new NON unix kernel.
zackmorris超过 11 年前
You know, I sure hope not.<p>Good points:<p>* applications run in a sandbox (preemptive multitasking&#x2F;protected memory)<p>* interprocess communication is well implemented (copy on write, pipes, stdin&#x2F;stdout&#x2F;stderr)<p>* everything is a file (so many data structures and APIs become superfluous once you realize this)<p>* atomicity is for the most part robust which allows scaling (mutexes, semaphores, file locking)<p>* open nature of code lends itself to better security, size and performance<p>Bad points:<p>* Hierarchical filesystems are a dead end (the future is all about metadata, hashes, diffs and relationships)<p>* Too much emphasis on brevity, while size becomes less important over time (acronyms, abbreviations, regular expressions, bash, perl, etc)<p>* Human-oriented concepts, ironically, don&#x27;t work well for the use cases humans want (permissions, process priority, executable bit)<p>* Basing everything on source code instead of binaries needlessly increases everyone&#x27;s workload<p>* Dependency hell<p>Honestly I could come up with 10 times as many examples as these. Especially for the bad points, seriously, it&#x27;s worth keeping an open mind about what could be possible if we thought about how the world is moving towards treating data as essentially infinite. I think computers of the future will work more like how Google does things with map reduce and Go. It just kills me every time I can&#x27;t find something on my hard drive when I KNOW so much about it, what I was thinking at the time I made it, and not so much its name or contents. Or when I lose hours, or even days, trying to make the simplest command work in the shell, or set up a config file (for BIND etc). I think UNIX reached a pinnacle with Mac OS X but now it will enter a long period of slow decline as multiprocessing and higher level languages begin to replace all of the things that we used to do by hand. Especially with regard to how we develop software today, so much of it (makefiles, even compiled code), while not necessarily UNIX-centric, is going to go the way of the dodo. I find anymore that the vast majority of my time, perhaps as high as 90%, goes to learning curves, getting anything to work at all, and fumbling in the dark without being able to see where a problem comes from. The operating systems of the future, whatever form they take, are going to solve these problems in ways that I think would be difficult with a command prompt mindset.
评论 #7140758 未加载
评论 #7141220 未加载
评论 #7187655 未加载
评论 #7141961 未加载
yuhong超过 11 年前
Ah, I ranted before about how Copland was killed in favor of Unix-based NeXT technologies. For example Classic Mac OS used Pascal strings which was more secure than C strings. What is funny is that Copland tried to move the Mac Toolbox into kernel mode even though Copland never intended to preemptively multitask GUI apps. I read they once was able to run the &quot;Blue Box&quot; on Copland&#x27;s NuKernel which would have been a good starting point.
staunch超过 11 年前
Reminds me of this old HN post:<p><pre><code> Ask HN: Will we be using Lisp derived languages for the next 50 years? 64 points by jm 50 years ago | flag | 46 comments</code></pre>
memracom超过 11 年前
Yes, except that I think production services are more likely to migrate to a thin containerized layer directly over a hypervisor something like what Docker&#x2F;LXC provide in UNIX. We already have JVM and Erlang VM and even LISP implementations that bypass the OS and I think there will be even more of that type of thing.<p>UNIX is still a very useful OS for general use and for developers so I don&#x27;t see it going away for a century or two.
评论 #7143355 未加载
LeoSolaris超过 11 年前
Likely some evolution of them, unless something profoundly better changes the game.