New Operating system? Phantom OS

Hey drop us a line about the show. Feel free to ask questions, provide feedback and criticism, or just ramble on about anything your little heart desires.

Moderators: snarkout, Patrick, dann

Post Reply
User avatar
LinuxMint-4
Posts: 496
Joined: Sun Mar 16, 2008 2:45 am
Location: Northern Kentucky

New Operating system? Phantom OS

Post by LinuxMint-4 » Fri Mar 27, 2009 5:26 pm

Russian rides Phantom to OS immortality
(How come this isn't bigger news? First time I heard about it and this was posted in Feb)

Russian rides Phantom to OS immortality

http://www.theregister.co.uk/2009/02/03 ... ussian_os/

Dmitry Zavalishin is cooking up a new operating system. He calls it Phantom. Phantom is a different approach on the OS than any other out there, with the primary goal of being immortal. In Phantom, powering off the computer will not cause programs to lose state. They can pick up where they left off as soon as the machine is turned back on.

To accomplish this automatic state preservation, Phantom continuously snapshots system memory on to disk. At first glance, that seems like a big synchronization problem: All the programs running should have to pause while the snapshot process reads their internal state. However, if you design the operating system around this goal, the process isn't that intense. The fundamental competency of Phantom is creating this snapshot cheaply, without disturbing current processes.

As a side effect of this design principle, Phantom's programming model is different from what developers are used to. To store persistent data in something like Windows or Linux, you need to explicitly write it to a file. Inventing an object serialization scheme can be tricky and error-prone, especially if your object structure is highly connected. Some languages, like Java, provide basic serialization functionality, but in complicated programs, you still need to remember exactly what state needs to be persisted through invocations of the code.

For example, in something like Microsoft Word, you can't just save the user's document to disk. You have to know whether they checked the “bother me every four seconds with helpful hints" or freeze the system for thirty seconds while you launch a help program when I press the button by accident" preference boxes. All that has to go to a file as well.

Because of this different line of thinking, Phantom doesn't have files. Well, there are no files in the sense that a developer opens a file handle, writes to it, and closes the file handle. From the user's perspective, things still look familiar – a desktop, directories, and file icons. But a file in Phantom is simply an object whose state is persisted. You don't have to explicitly open it. As long as your program has some kind of reference to that object, all you need to do is call methods on it, and the data is there as you would expect. That's definitely an advantage in an unstable environment.
Linux Mint 9 Gnome, Ubuntu 8.10 Easy Peasy , Open Suse, Windows XP PRO and others.

User avatar
eddie
Posts: 974
Joined: Wed Sep 05, 2007 10:46 pm
Location: here
Contact:

Re: New Operating system? Phantom OS

Post by eddie » Mon Mar 30, 2009 9:12 am

I wonder what entails shutting of the system. Could you just pull the power plug and that work?

MattKingUSA
Posts: 313
Joined: Mon Jul 28, 2008 10:49 am
Location: Dallas TEXAS
Contact:

Re: New Operating system? Phantom OS

Post by MattKingUSA » Mon Mar 30, 2009 9:22 am

eddie wrote:I wonder what entails shutting of the system. Could you just pull the power plug and that work?
I do that anyway.

dpkgregor
Posts: 87
Joined: Sat Oct 25, 2008 6:30 am

Re: New Operating system? Phantom OS

Post by dpkgregor » Mon Mar 30, 2009 10:46 am

By reading the comments on Slashdot, the concept doesn't seem very new and people are saying the guy doesn't really understand how an OS works.

But hey, if he pulls it out and has a working beta for us in a few years, more power to him.

Post Reply