Linked by Eugenia Loli on Tue 18th Oct 2005 18:00 UTC
Windows In its first update to a new community-based preview program, Microsoft is showing off a number of new features for Windows Vista, including efforts to improve the web browser and make the operating system more resilient.
Thread beginning with comment 47292
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: MY OS :)
by abraxas on Tue 18th Oct 2005 23:28 UTC in reply to "MY OS :)"
abraxas
Member since:
2005-07-07

Both Windows and Linux are coded mostly in C++

I hate to break it to you but Linux is NOT coded in C++. The Linux kernel is coded in plain old C.

Scrap the idea of a kernel, and use multiple diferent kernel-like "programs" that controll the computer, but are controlled by a master super-kernel that has no real executing abilities of it's own (a security minded idea more than inovation in architecture)

That sounds a lot like a microkernel to me.

Reply Parent Score: 2

RE[2]: MY OS :)
by ZaNkY on Tue 18th Oct 2005 23:49 in reply to "RE: MY OS :)"
ZaNkY Member since:
2005-10-18

Did I say C++ for Linux? Oops lol. Well I meant C in general, I think Windows Vista migh be in C++ .net or some other C++ derivative. I seriously did mean C, but that doesn't change much. Although C has the ability to write some asm code (and is as such faster than C++), it still cannot compete speedwise with pure assembly as far as I'm concerned.

Thank you for the correction ;)

Sure you could say it's similar to a microkernel, but I haven't yet decided exactly how to implement it. I want to be innovative in most aspects of OS design, and I'm still trying to think of how to write a kernel that is not easily suseptable to being tricked into doing something mallicious, or be completely changed without the user's knowledge (and consent), while remaining an easy to modify OS (by the user).

If you have any suggestions, I would greatly appreciate them ;)

--ZaNkY

Reply Parent Score: 1

RE[3]: MY OS :)
by sappyvcv on Tue 18th Oct 2005 23:52 in reply to "RE[2]: MY OS :)"
sappyvcv Member since:
2005-07-06

Windows is a combination of assembly (used a lot in the kernel), C and C++.

Reply Parent Score: 0

RE[3]: MY OS :)
by on Wed 19th Oct 2005 09:06 in reply to "RE[2]: MY OS :)"
Member since:

C isn't faster than C++ due to the ability to imbeed assembly though non-standard extensions to the C standard. Both C and C++ (and any other compiled code) can have assembly "imbeded" in them through the linker (Yeah I know that is somewhat misleading but I'm rushing).

As for your ideas related to the kernel you may be interesting in microkernels (QNX, Mach, L3/L4) and exokernels. However I would say the best mechanism is the combination of a monolithic and microkernel as Windows does it or a monolithic kernel with loadable modules as Linux does it. (Ohhh and on a side note no kernel design will protect from programmer error which is what causes most problems. That's a job for intelligent compilers and intelligent programmers ;) )

Reply Parent Score: 0