Another OS brainstorm(?)
Posted by Anurag on 25 October, 2007
I feel that my brain is heating up from inside, too much thinking going on lately! I wish there was an ‘off’ switch which I could press so that I leave all worries and thoughts. Well, there is this ‘die’ option, or ‘drugs/drinking’ option, but then I prefer neither. The first option, well, of course is like a permanent solution, but there is no ’switch on’ after it. The second option … well I decided to never use it.
I am going home on this 31st evening. A lot of wrapping up to do, I want to buy presents for my family members as a token for the first money I’ve earned (that comes under ‘taxable’ income ;)). And then, I’ve this OS thought process going on, and I need to plan in advance for the coming holiday, how will I utilize the time as well as give enough time to people there.
Office work is going on as usual, but the workload since TODAY has been unusually low. So, all day I’ve been reading articles about operating systems. Most of which say that Linux is a clone of a 30 year old system, UNIX. And a lot of them say that most OSes are based on the three tier thing, kernel, files/folders and processes. We must change this to something that is shown in hollywood, no windows nothing, just some vague interface to get the information we want. This thought is influencing me a lot.
Another thought that comes to me is the ease of use of the existing systems. If we were to shift to a vague system with no “Firefox”, no “Windows Media Player” (eh, “MPlayer”), no “Start menu” (eh eh, “K Menu” (eh eh eh “Gnome’s whatever menu”)), and whatever application you used to like! Well, it might take a decade for people to finally accept (if ever) such a thing.
Then there are people who ask to ‘do-away’ with GCC. Does that mean we need to implement another compiler? How can anyone not port ‘GCC’ to their OS (except Microsoft)? And people ask us to do-away with C! Imagine coding a new OS with D, and writing a compiler for it along with the OS! If we do port GCC, then how will GCC run if we’re not basing upon ‘kernel, files and processes’? Yeah, the C code we write can work the way we want, but GCC needs to run on ‘files’ and write ‘compiled binary files’. Also, the gcc executable and shared libraries are also ‘files’ stored in a specific ‘directory structure’. And all the C code which we write is ‘files’. How can the compiler survive in an environment that gives up this basic structure?
A way of doing it would be to create ‘emulation of kernel/files/processes’ in the new OS. The compiler will run in this emulated environment and spit out binary ‘files’. There should be some way of running ‘files’ created by GCC on the new OS, which supposedly wont support ‘files’? The idea seems wierd, apart from creating an overhead of an emulator for the existing structure of computer systems. Maybe a little more pondering on it can give some clearer picture. Rather, the method should be, what will be the new structure? And then later we can answer other questions of compatibility with existing structures and porting applications.
I know I am talking really wierdly these days, but then, my knee injury has really damaged my ‘brain’ (My wound has fully recovered now!). Anyways, I’ll keep posting more on this. For the ‘conventional’ OS development talks, which I keep writing as and when I read more and more, I’ve created a wiki, http://myos.scribblewiki.com/Main_Page. Do visit to read more, and all wierd thoughts will find place in this blog, hehe.
Ciao.
Posted in Life in Bangalore, My operating system, Thoughts | 4 Comments »


