Re: The kernal itself is low level assembly language

Richard B. Johnson (root@chaos.analogic.com)
Tue, 9 Feb 1999 21:23:33 -0500 (EST)


On Tue, 9 Feb 1999, Mark Lord wrote:

> >From this evening's chat session at msnbc:
> ...
> >[Chris_MSNBC says]:
> > <Eric Murray>: what programming laungauge is used in linux, is it all C
> > code? What do you think of Java, and will any launguage replace C as
> > the dominant language
> >
> >[Linus_Torvalds- says:]
> > The kernal itself is low level assembly language....it's just how things
> > are done.
>
> huh?
> --
> mlord@pobox.com

Well it's fairly true. The __asm__ GNU extensions are used for a lot of
deep-in-the-heart kernel code because 'C' doesn't mess with registers,
hardware, etc. Just in case you think outw(....), inp(..etc..) are
in the 'C' language...check again. Even __inline__ __attribute_packed.etc
aren't 'C' things. They are GNU extensions that make it possible to
run about everything through the same compiler. However, it 'taint 'C'.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.2.1 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.
Wisdom : It's not a Y2K problem. It's a Y2Day problem.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/