|
Thread: Os
-
Dec 30th, 2002, 04:27 PM
#1
Thread Starter
Addicted Member
Os
Is it possible to write an OS in C++. If so would it be stable?
-
Dec 30th, 2002, 06:13 PM
#2
Monday Morning Lunatic
Lots of things are possible in C++. The stability isn't really dependent on the language, it's dependent on your code quality.
I wouldn't write an OS in C++, it's far too fluffy, which is why most systems programming is still in C (C++ requires a lot of behind-the-scenes work, unfortunately without your OS or runtime support none of these can function).
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Dec 30th, 2002, 07:20 PM
#3
So basically the absolute core of the OS (bootstrap and similar things) would be written in assembly. Based on that there would be a large layer of C that covers most of the basic functionality. If you have that you can write or port a C++ compiler compiler for the OS and write the remaining features in C++.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|