Page 1 of 1

OS in pascall...

Posted: Sun Feb 18, 2001 12:00 am
by Crg
Anyone have heared about an OS in Pascal?
Anyone have some ideas? I would be greatful
for _any_ help.
Maybe someone wants to do such a OS
(in free pascal compiler or in TMT pascal?).
Anyone knows how to
put "my own" extender in FPC or TMT pascal comp?

Thx!

RE:OS in pascall...

Posted: Sat May 19, 2001 11:00 pm
by sergey_volosat
>On 2001-02-18 07:46:14, Crg wrote:
>Anyone have heared about an OS in Pascal?
>Anyone have some ideas? I would be greatful
>for _any_ help.
>Maybe someone wants to do such a OS
>(in free pascal compiler or in TMT pascal?).
>Anyone knows how to
>put "my own" extender in FPC or TMT pascal comp?

it's perversion to write OS in pascal. use c instead.

RE:OS in pascall...

Posted: Wed Jan 09, 2002 12:00 am
by Schol-R-LEA
>On 2001-02-18 07:46:14, Crg wrote:
>Anyone have heared about an OS in Pascal?
>Anyone have some ideas? I would be greatful
>for _any_ help.
>Maybe someone wants to do such a OS
>(in free pascal compiler or in TMT pascal?).
>Anyone knows how to
>put "my own" extender in FPC or TMT pascal comp?
>
>Thx!

I know it's almost a year out of date, but...

Despite what some barbarians here think, it is possibler to do so. Prior to Turbo Pascal's debut, the most common Pascal available was UCSD Pascal, which was a full OS and environment written in Pascal (actually, the low-level stuff was handled by the p-code interpreter, roughly the equivalent of a Java JVM).

That having been said, Pascal is far from an ideal language for OS development. If you wish to avoid C, you'd be better off learning one of Wirth's later systems, such as Modula-2 or Oberon. Both of these languages are specifically designed for systems programming (unlike Pascal, which was meant as a pedigogical tool) and have facilities equal to C for it - but with a syntax and structure much closer to Pascal's.

There are several other Pascal derivatives, including Ada, which could also be used for OS design Take yor pick.

As for 'perversions', I personally am planning to use a Scheme vaiant for my higher-level work. The perverse part is, I expect to get better performance than C bigots could ever dream of - there are advantages to working at a higher level of abstraction, and one of them is not getting bogged down in details better left to the compiler.