How deep can you go with C++? What is the limits?
And if you go so deep that you make your own GUI's and stuff, do this mean you have to go into the C++ libaries and headerfiles? :confused:
Printable View
How deep can you go with C++? What is the limits?
And if you go so deep that you make your own GUI's and stuff, do this mean you have to go into the C++ libaries and headerfiles? :confused:
You can go down to assembly. You can do nearly anything.
You can make your own GUI system. You can make your own OS (though parts cannot be written in any language but assembly).
C++ libraries and header files can be made, and they don't have to be used... What exactly are you asking?
I'm sure you could go deep enough to program your own operating system.
Edit: Shoot, someone beat me again!
You can pretty much go as deep as you want. Someone was working on a list of things you can't do in C/C++ that you can do in Assembly, and the list was only 5 long, if that answers your question.
edit: You can make MOST of an operating system. Boot loaders still need to be in Assembly.
The real answer isn't really an answer, but it is: How deep do you want to go?
In all actuality, you can do anything with C++, even if you modify the compiler a 'lil bit ;) Who says you need to code ASM to use ASM? At least that's my theory. I'm sure there are loads of people that don't want to spend the time with ASM, and would rather ask a friend who knows ASM to do it for 'em.
Whether or not you would allow having someone coding it for you, is really the mitigating factor in whether or not you're going to progress from the standard C++.
Almost any thing is possible. You can embed ASM into your code if needed for some of the basic OS stuff, and there are kernels out there writen in C++.
1000 meters. ;)Quote:
Originally Posted by Da-Nuka
id say more of 1001 meters....Quote:
Originally Posted by jlou
Xipher said that kernels can be coded in C++, is that just theory or are there really some kernels coded with C++ and if so, does any1 know any examples?
Some Linux kernels. Do a google search - you'll find hundreds.
Like they said, almost anything, in fact i'd like to see the Assembly vs. C++ list. I think one of the Counter-Strike computer games was written with some C++!
I thought most things were written in c++? What else do video game programmers write in?
Programmers used to write mostly in c and assembler a few years ago (the first two Theme Park games were written only in assembler if I recall correctly). But as games are getting bigger and computer more powerful the slight loss of efficiency (real or imagined) due to writing in c++ is far outweighted by the increased ease in coding the game.