the GardenGnome Posted February 3, 2003 Posted February 3, 2003 C++ or C they both are good. Has anyone tried CowboyNeal h4x0rs RPG ?
phubuh Posted May 24, 2003 Posted May 24, 2003 Originally posted by Syntax Well C++ is known to be bad for kernel programming, plain C is what I've mostly seen. I think Linus Torvalds posted something about the cons of programming the kernel with C++. Linus Torvalds is somewhat of a dweeb. I've written a small x86 kernel in C++, and I think it's a very suitable language. The only disadvantage of using C++ in a kernel as opposed to in user-level is the lack of runtime type information in the lowest parts, which makes using virtual functions and the like impossible. There's no reason why you can't add RTTI in those layers, though, and use virtual functions all you like in the layers above. Note that I'm not a very big fan of C++; in fact, I dislike it very enthusiastically. I'd choose C over it any day, but then again, kernel programming is the only realm where C/C++ is viable, so it doesn't matter much.
ThEmAdHaTtEr Posted May 28, 2003 Posted May 28, 2003 Well, no matter what you do, C++ is where the moneys at. BUT when you learn VB6 you get too lazy to learn C++ so I warn you... Good luck with whatever you choose. But damn, C++ is hard.
Guest shocker147 Posted June 29, 2003 Posted June 29, 2003 I had to program in C for years before we could program in C++. I just appreciate how C++ can make many things easier for the programmer compared to C.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now