Page 1 of 1

Languages

Posted: Wed Mar 14, 2001 12:00 am
by Iain
Hi,

Does anyone know anywhere where I can find the
advantages and disadvantages of different
programming languages for writing Operating
Systems?

Any Help greatly appreciated!

Iain

RE:Languages

Posted: Wed Mar 14, 2001 12:00 am
by ATG
The nature of operating systems dictates that they
should be written in assembly language. =\

What you want to do is look at the major languages in use
and how their libraries work. C is horribly primitive with
its standard libraries but could be much better with custom
libraries and executable styles.

The problem you should pose to yourself is:

"What is the best low-level API for supporting the
library functions of these common languages?"

and then:

"What is the best language for implementing that
API?"

RE:Languages

Posted: Wed Mar 14, 2001 12:00 am
by Chase
>On 2001-03-14 11:53:48, ATG wrote:
>The nature of operating systems dictates that they
>should be written in assembly language. =\

With what is typically considered an OS, it's very difficult
to write the entire thing in assembly. The nature of the
human mind dictates a more structured, human readable format.
And don't forget porting your OS to other platforms...