[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Low-level vs. High-level programming (was My First Computer)
- Subject: Re: Low-level vs. High-level programming (was My First Computer)
- From: mjmahon@aol.com (Michael J. Mahon)
- Date: 24 Jul 2003 22:35:49 GMT
- Newsgroups: comp.sys.apple2
- Organization: AOL http://www.aol.com
- References: <ShnRa.14919$kI5.9342@nwrddc02.gnilink.net>
- Xref: archiver1.google.com comp.sys.apple2:33242
Michael Pender wrote:
>John B. Matthews <nospam@nospam.com> wrote in message
>nospam-967967.21253716072003@clmboh1-nws3.columbus.rr.com">news:nospam-967967.21253716072003@clmboh1-nws3.columbus.rr.com...
>>
>> Logo was a delightful environment, but not the only "serious" recursive
>> stack machine in wide use on Apple II.
>>
>> Apple's UCSD Pascal implemented a very efficient stack machine. Each
>> stack frame had a static and dynamic link to allow recursion from an
>> arbitrary nesting level.
>
>Apple Pascal was a half-baked implementation of the language that offered
>very limited system access. It was a compiled Fortran program that
>inherited all of the limitations of the Fortran language, as well as those
>of Pascal.
No.
UCSD Pascal was a microcomputer adaptation of Wirth's ETH Zurich
portable Pascal implementation (based on P-code). In the process
of adapting it to microcomputers, the biggest problem was memory
space, so it is painfully optimized toward saving space at the clear
expense of a regular P-code.
Later, a FORTRAN implementation was done (in Pascal) which
used the same P-code interpreter as Pascal.
>For example, a program could not have more than 3 files open at once,
>system-wide.
Pascal certainly has many limitations as a system programming
language (many of which were conscious tradeoffs made to enhance
its educational value, in the eyes of its creator). Limitations like the
number of simultaneously open files are not language limitations,
but implementation limitations--another consequence of optimizing
for very small memory (64KB) systems.
-michael
Check out amazing quality 8-bit Apple sound on my
Home page: http://members.aol.com/MJMahon/