Re: Compiling C++ modules

Martin Mares
2006-05-02T12:48:56Z

Hello!

> But it executed C++ code within a few cycles of entering the reset
> vector (no standard BIOS), including but not limited to: programming the
> memory controller (430MX chipset), servicing interrupts, hardware
> accelerated 2D graphics (C&T 65550), IDE driver, simple filesystem,
> simple windowing GUI, network driver (Tulip) etc.

I really don't claim it's impossible to write kernels in C++ -- it's
clearly possible given that everything you can do in C, you can do in
C++ as well. But what I argued about is whether kernel programming in C++
can be easier and more efficient, which is why I wanted you to show
some examples. Real code speaks better than thousand theories.

Have a nice fortnight
--
Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
Only dead fish swim with the stream.