Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Micro$oft Windows

Name: Anonymous 2010-03-09 14:59

Why is Windows designed in Turbo Pascal ?

Name: Anonymous 2010-03-09 22:49

Windows may not have been, but Mac Classic was largely written in Pascal.

Name: Anonymous 2010-03-09 23:31

>>24

In the early days, Mac Classic was largely written in assembler.  Applications were often written in Pascal, but also often assembler or C.  HyperCard is an example of a C program from that era.  After the switch from 68K to PPC, Apple started converting the assembler to C.  There was probably 68K assembler in Mac OS 9, since Apple shipped its PPCs with a very nice emulator.

It seems like it was written in Pascal because the OS used interfaces and calling conventions that often matched Pascal.  Most of the syscalls were just illegal instructions trapped by the OS, and passed parameters in registers, which is NOT Pascal-friendly (or C-friendly, for that matter).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List