pavan a écrit :
Is there a modern (OO, garbage collected etc...) programming language
that can server as a good alternative for C for system programming. I
wouldn't want to compromise too much on performance.
Use a Visual Basic interpreter written in C#
Intel and AMD will be of great help to you. They will be
happy to provide a 100 processor parallel machine to
be able to boot the OS!!!
More seriously:
1) C can use a garbage collector without any trouble. See
http://www.cs.virginia.edu/~lcc-win32
2) An OPERATING SYSTEM can't use a garbage collector. The
delay provoked by a full GC within the OS would be
quite a show stopper. In the first versions of linux
even malloc was forbidden.
3) Many operating systems have been written in C. "OO"
operating systems have been proposed, and even some have been
implemented like the famous TALIGENT failure, or more recently the
deceased BEOS. C++ is not a good choice for an OS, and
linux has recently resisted any change in that direction.