os with c++ How?????

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
blito

os with c++ How?????

Post by blito »

thinking on the implementation laguaje for
my os.
can i write it in c++? i think this is a
good oportunity to learn some c++.
what libs i'll have to port?
heared that c++ is not good for os coding, why?
i´m working with dgjp and nasm.
thanks
Guest

RE:os with c++ How?????

Post by Guest »

Yes, you can write your OS in C++ although there
will be many problems along the way.

Most 'standard' operations aren't, such as new()
delete(), and some other oft-used things of that
nature.

If you wish to use them you'll have to code them
all and they're mostly OS specific ( they depend
on your memory allocation techniques ).

I'd advise you to know C++ like the back of your
hand before you do something like that, otherwise
you'll get bogged down with virtual functions
within classes that will create unecessary
overhead.

C++ has the potential to be REALLY fast ( as
fast as C ) if done right, but you have to be very
careful :)

>On 2002-04-17 14:38:39, blito wrote:
>thinking on the implementation laguaje for
>my os.
>can i write it in c++? i think this is a
>good oportunity to learn some c++.
>what libs i'll have to port?
>heared that c++ is not good for os coding, why?
>i´m working with dgjp and nasm.
>thanks
Post Reply