Skip to main content

Pondering Operating Systems

For a long time, my goal has been to develop a higher-level, natively-compiled programming language, and then to develop a proof-of-concept kernel in it. Well, someone else beat me to the punch.

House is a proof of concept operating system written in Haskell. It has some simple graphics, a TCP/IP stack, etc. Naturally, it's just a research project, but achieving proof of concept was my goal too.

On that subject, I'm also keeping my eye on Microsoft's Singularity. It's a microkernel, and much of it is written in C#. Unlike most microkernels, the different components do not run in separate address spaces. The VM does protection in software, rather than hardware. I had been toying with this idea too, but my buddy Mike Cheponis informed me that VM/360 did it decades ago.

Is anyone other than me bummed that BeOS never took off? I'm sadly coming to the conclusion that Linux might not ever make it on the desktop. It's just not a priority. Too many great hackers use Linux on the server with Mac laptops. There's always hope that Haiku might recreate BeOS in a completely open source way, but it would have been a lot easier if Be had simply open sourced it in the first place.

In the meantime, SkyOS thinks that there is room for another easy-to-use, featureful, proprietary OS. Apple succeeded at this. BeOS failed. It's hard for me to get excited about a new proprietary OS. I'd sooner buy a Mac (although I still haven't been fully de-Stallmanized).

Speaking of which, has anyone else noticed how few non-UNIXy, open-source operating systems there are? Maybe it's true that Systems Software Research is Irrelevant.

Well, now that House has shown that you can write a kernel in Haskell, I think I need a new goal. Maybe I'll go solve world hunger. I've heard there's a little squabble going on in the Middle East that could use some attention. Maybe I'll go write an entire operating system in modern assembly; oh wait, it's already been done ;)

Comments

Noah Gift said…
Sounds like you need a way to find out how to be a part time scientist. I think you would be a good one.

I agree an OS in some other language than C would be very cool.

On the OS X front, I would recommend just doing it. When it is all said and done, the OS X desktop is just amazing. Leopard looks to be amazing as well, but I can't comment on whether it really is or not due to a NDA.

With the coming world of Virtualization, it becomes almost a moot point that linux can do X,Y,Z and Microsoft only runs the programs: A, B, C. VM Fusion is a great application and allows you to run a shell to any OS you want! Now you have the most productive UI in the world, and a shell to an almost limitless amount Operating Systems.

On the Virtualization front, the IBM AIX OS is quite an interesting beast. It has incredible virtualization technology that is allowing the world to head back into the realm of mainframes. There was just an article last week about it:

http://www.informationweek.com/news/showArticle.jhtml?articleID=201202384
jjinux said…
Hey Noah,

Thanks for your comment. Something's wrong with that article. "139 football fields" worth of servers to service "350,000 users"? Must have been a typo ;)
jjinux said…
> I can't comment on whether it really is or not due to a NDA.

hahaha That's exactly the sort of stuff that keeps me running Linux! Not to mention, that I'm running it on a brand new $375 Compaq laptop ;)
Adam Ulvi said…
The article on systems research being irrelevant was quite disheartening, especially because in the 7 years since it was written, it's only become more and more true.

The computer industry continues moving away from public or university-funded R&D and keeping it all in-house under lock and key. Standards are ignored either to ensure vendor lock-in or because standards organizations take longer to make up their minds than commercial software feels like waiting. Tight, cohesive systems integration is still a dream, even getting something "industry standard" like Kerberos working is a big PITA. Why don't we have true working single sign-on, it shouldn't be that hard!

Personally, I'm fed up with closed-source software. Sorry to rant on your blog :-)
The L4 implementations Fiasco and Pistacio are GPL-licensed. And their certainly not purely research kernels. So don't trust Wikipedia too much.

Popular posts from this blog

Drawing Sierpinski's Triangle in Minecraft Using Python

In his keynote at PyCon, Eben Upton, the Executive Director of the Rasberry Pi Foundation, mentioned that not only has Minecraft been ported to the Rasberry Pi, but you can even control it with Python. Since four of my kids are avid Minecraft fans, I figured this might be a good time to teach them to program using Python. So I started yesterday with the goal of programming something cool for Minecraft and then showing it off at the San Francisco Python Meetup in the evening.

The first problem that I faced was that I didn't have a Rasberry Pi. You can't hack Minecraft by just installing the Minecraft client. Speaking of which, I didn't have the Minecraft client installed either ;) My kids always play it on their Nexus 7s. I found an open source Minecraft server called Bukkit that "provides the means to extend the popular Minecraft multiplayer server." Then I found a plugin called RaspberryJuice that implements a subset of the Minecraft Pi modding API for Bukkit s…

Apple: iPad and Emacs

Someone asked my boss's buddy Art Medlar if he was going to buy an iPad. He said, "I figure as soon as it runs Emacs, that will be the sign to buy." I think he was just trying to be funny, but his statement is actually fairly profound.

It's well known that submitting iPhone and iPad applications for sale on Apple's store is a huge pain--even if they're free and open source. Apple is acting as a gatekeeper for what is and isn't allowed on your device. I heard that Apple would never allow a scripting language to be installed on your iPad because it would allow end users to run code that they hadn't verified. (I don't have a reference for this, but if you do, please post it below.) Emacs is mostly written in Emacs Lisp. Per Apple's policy, I don't think it'll ever be possible to run Emacs on the iPad.

Emacs was written by Richard Stallman, and it practically defines the Free Software movement (in a manner of speaking at least). Stal…

ERNOS: Erlang Networked Operating System

I've been reading Dreaming in Code lately, and I really like it. If you're not a dreamer, you may safely skip the rest of this post ;)

In Chapter 10, "Engineers and Artists", Alan Kay, John Backus, and Jaron Lanier really got me thinking. I've also been thinking a lot about Minix 3, Erlang, and the original Lisp machine. The ideas are beginning to synthesize into something cohesive--more than just the sum of their parts.

Now, I'm sure that many of these ideas have already been envisioned within Tunes.org, LLVM, Microsoft's Singularity project, or in some other place that I haven't managed to discover or fully read, but I'm going to blog them anyway.

Rather than wax philosophical, let me just dump out some ideas:Start with Minix 3. It's a new microkernel, and it's meant for real use, unlike the original Minix. "This new OS is extremely small, with the part that runs in kernel mode under 4000 lines of executable code." I bet it&…