Martin Mares wrote:
Hello!
Perhaps people who developed kernel-level code in _both_ C and C++ would
be qualified to speculate on that (I have, but apparently I don't have a
clue).
Well, what about just showing an example of kernel code in C++, which
you consider nice?
I don't have access to that code (which was closed source anyway).
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.
More recently I participated in writing a filesystem in C++. That's in
userspace, but many of the techniques used in writing kernel code are
necessary there (extreme robustness, can't assume infinite memory,
locking, etc.)
There are C++ embedded kernels in http://www.zipworld.com.au/~akpm/ and
http://ecos.sourceware.org/, but I haven't looked at them, so I can't
say whether I consider them nice or not.
--
error compiling committee.c: too many arguments to function
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]