News for hackers. Stuff that matters.
Re:The Xinu Page by artlogic on Wednesday February 20, 2013 @05:25AM (#5249722)
I own volumes 1, 2 and the PC version. I can vouch for the quality and understandability of the code. I've read a number of operating systems books, and I've found volume 1 to be one of the most straightforward - if you can get past the fact it's written with the PDP-11 in mind. I bought the PC version on a whim after reading volume 1, and found it to be lacking in a number of ways, using BIOS for many system services and glossing over memory protection (not surprising as it targeted the 8086).

One of the more interesting things about Xinu is that its security model is ring based, and if I remember right, it takes advantage of rings 0-3, unlike many modern operating systems. I can't actually remember if the PDP-11's hardware supported this, or if it was emulated by the kernel.

One of my rainy day projects has always been to get Xinu up and running on a PDP-11 emulator - too many operating systems, too little time.

Re:The Xinu Page by Erwin on Wednesday February 20, 2013 @05:35AM (#5249747)
OS/2 was another one using multiple rings.

Interestingly VirtualBox takes advantage of x86's multiple rings: http://www.virtualbox.org/manual/ch10.html#idp12629776 (which contains other interessting details about VirtualBox, like the disassembles and patches code running in the VM in certain cases)

Re:The Xinu Page by andybak on Wednesday February 20, 2013 @04:39AM (#5249622)
Just to point out another title edit by the mods. The original title was 'Xinu is not Unix'. Considering that's the first line of the body copy it was hardly excessive editorialising in need of fixing and actually did a better job of setting expectations than the pedestrian replacement title.
Re:The Xinu Page by mapleoin on Wednesday February 20, 2013 @05:40AM (#5249759)
These mods seem too much like bots lately. Maybe they are?
Re:The Xinu Page by JulianMorrison on Wednesday February 20, 2013 @06:37AM (#5249884)
If HN wants to force use of the <title> element as the post title, why not just auto fill it from the URL and disable editing? it seems silly to offer an editable field whose contents are auto-discarded.
Re:The Xinu Page by zubinmehta on Wednesday February 20, 2013 @10:01AM (#5250756)
"Xinu Is Not Unix" - also gives more information than "The Xinu Page". Hence, I used it. If you don't feel OS-ey then you may skip the link!
Re:The Xinu Page by contingencies on Wednesday February 20, 2013 @03:18AM (#5249466)
So while you can download code, the real description is in a book, not online, and you can't see it without paying money. Uninspiring.
Re:The Xinu Page by andreasvc on Wednesday February 20, 2013 @03:23AM (#5249478)
This is exactly the kind of thing that inspired Linus to make Linux.
Re:The Xinu Page by primitur on Wednesday February 20, 2013 @05:35AM (#5249750)
Sweet ram o' the rod, a name from the mists emerges.. It has been a long time since I played with Xinu, at least before Linux came to rule the roost .. someone remind me, though, doesn't Xinu have its own compiler onboard, i.e. why do we need two machines, just to bootstrap? Once booted, does a Xinu machine have all it needs to build an image for another Xinu machine?

I guess its a matter of taste, but this dusty beard reckons its not Unix if you're not building another Unix with it. ;P]

Re:The Xinu Page by ripperdoc on Wednesday February 20, 2013 @04:49AM (#5249637)
Fun and completely irrelevant fact: "Xinu" is the name of the God of Pain in a popular Swedish role-playing game (pen and paper). See here: http://translate.google.com/translate?sl=sv&tl=en&js...
Re:The Xinu Page by joezydeco on Wednesday February 20, 2013 @10:33AM (#5250942)
I was directly involved in one of the "industry" projects mentioned on this page. It's great to see Comer's work still around and kicking. XINU was a pleasure to work with.

Our company's lawyers also loved XINU because of the license. The GPL scared them so much we had to take Linux off the table.

Re:The Xinu Page by Samuel_Michon on Wednesday February 20, 2013 @01:55AM (#5249317)
X is not UNIX (XNU), GNU is not UNIX (GNU), there are quite a few OSes that aren't Unix.

Heck, even UNIX is not UNIX: https://encyclopediadramatica.se/UNIX

Re:The Xinu Page by jckt on Wednesday February 20, 2013 @03:20AM (#5249472)
The thing is, that page is better than half of all the unix guides I've seen online.

Except for the `su -c rm -rf /*` part, of course.

Re:The Xinu Page by zubinmehta on Wednesday February 20, 2013 @02:10AM (#5249345)
The cool part is - UNIX not is XINU
Re:The Xinu Page by Samuel_Michon on Wednesday February 20, 2013 @02:33AM (#5249390)
Don't you mean 'XINU ton si UNIX'?
Re:The Xinu Page by shrikant on Wednesday February 20, 2013 @03:48AM (#5249528)
'XTSU' just doesn't have the same ring to it.
Re:The Xinu Page by dalke on Wednesday February 20, 2013 @09:02AM (#5250422)
UNIX <> XINU
Re:The Xinu Page by svec on Wednesday February 20, 2013 @10:20AM (#5250856)
I have fond memories of using Xinu in Dr. Comer's OS course back at Purdue. It's a nice little OS! (and he's a great prof!)
Re:The Xinu Page by contingencies on Wednesday February 20, 2013 @06:21AM (#5249849)
I was scratching my head where I'd heard that name .... and it came to me! Scientology. puke.
Re:The Xinu Page by lucian1900 on Wednesday February 20, 2013 @06:34AM (#5249876)
I thought that was Xenu.
Re:The Xinu Page by contingencies on Wednesday February 20, 2013 @07:48AM (#5250109)
Don't they pronounce the same in your head? To me they do.
Re:The Xinu Page by lucian1900 on Wednesday February 20, 2013 @09:17AM (#5250499)
Not in my head, no. Not being a native English speaker may contribute to that.