Linked by Owen Anderson on Mon 19th Apr 2004 05:43 UTC
General Development For years the development scene has been dominated by the C family of languages, primarily C itself and its immediate successor C++. Recent years have given rise to other C-descendents, however, such as Sun's Java and Microsoft's C#.
Permalink for comment
To read all comments associated with this story, please click here.
@Allan Sandfeld
by Rayiner Hashem on Mon 19th Apr 2004 14:34 UTC

Get your head out of your ass. There have been lots of kernels built with garbage-collected languages. The most notable is probably the Lisp machines, which had kernels written in Lisp. Others GC'ed languages used for kernel development include: ML, Scheme, Java, and others.

It should be noted that to use a GC in the kernel, you just have to be a bit smart about your code. The kernel needs to be preemptible, and you need to disable garbage collection while holding a spinlock. It should be noted that in modern kernels, its a bad idea to do memory allocation inside a spinlock anyway, because the memory allocator could block, causing a deadlock.